You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to access the golden metrics per deployment (or per service) via prometheus. With linkerd viz stat these stats are easy to achieve:
For latency i know that i can divide response_latency_ms_sum by response_latency_ms_count. But what about the Success rate? I can't seem to access these metrics.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to access the golden metrics per deployment (or per service) via prometheus. With linkerd viz stat these stats are easy to achieve:
For latency i know that i can divide response_latency_ms_sum by response_latency_ms_count. But what about the Success rate? I can't seem to access these metrics.
Apparently viz even calls Prometheus to access these metrics:
#12583 , https://github.com/linkerd/linkerd2/blob/main/web/main.go#L31 https://github.com/linkerd/linkerd2/blob/main/viz/metrics-api/cmd/main.go#L27
But I can only find partial queries by investigating the source code.
Has anyone had any success in getting exactly these metrics ( Latency P50, P95, 99, and Success rate) via Prometheus?
Beta Was this translation helpful? Give feedback.
All reactions