Skip to content

feat/metric: add new metric for skipper latency#3478

Closed
ayruslore wants to merge 1 commit intomasterfrom
feat/metric-skipper-latency
Closed

feat/metric: add new metric for skipper latency#3478
ayruslore wants to merge 1 commit intomasterfrom
feat/metric-skipper-latency

Conversation

@ayruslore
Copy link
Copy Markdown
Collaborator

feat/metric: add new metric for skipper latency

This change involves adding a new metric to measure the overall skipper latency of a request. i.e., the time taken by a request in skipper itself, so this does not include time taken for serving for the response to client and the time taken for the backend round trip.

This change involves adding a new mtric to measure the overall skipper latency
of a request. i.e., the time taken by a request in skipper itself, so this does not
include time taken for serving for the response to client and the time taken for the backend
round trip.

Signed-off-by: speruri <surya.srikar.peruri@zalando.de>
@ayruslore ayruslore added the minor no risk changes, for example new filters label Apr 22, 2025
@ayruslore ayruslore marked this pull request as draft April 22, 2025 12:15
Comment thread proxy/proxy.go
}

ctx.setResponse(rsp, p.flags.PreserveOriginal())
ctx.backendTime = time.Since(backendStart)
Copy link
Copy Markdown
Contributor

@AlexanderYastrebov AlexanderYastrebov May 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets discuss. It feels like this is collected by two lines below and also it does not have request host dimension (ctx.metricsHost())

@ayruslore
Copy link
Copy Markdown
Collaborator Author

PR was just to understand the metrics. We can do a proposal to expose different set of metrics

@ayruslore ayruslore closed this May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor no risk changes, for example new filters

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants