Does response_total double count? #5465
Unanswered
alexklibisz
asked this question in
Q&A
Replies: 1 comment 3 replies
-
@alexklibisz I'm not aware of any reason that would cause responses to be double-counted... You can spot-check a deploy with:
Do the values diverge? Do you see anything else unexpected? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm testing out some linkerd metrics for a gRPC service. I noticed that when I intentionally run a large number of failing requests (and no successful requests), the response_total metric shows the same number of requests with
grpc_status="0"
asgrpc_status!="0"
.Specifically, if I submit a large number of failing requests, the following two prometheus metrics evaluate to the same value.
It seems to work as expected if I use the
route_response_total
metric. I can do that for this case, because I have a service profile, but not all of our services have service profiles.Is that intentional/by design? It seems like it might be counting some sort of hand-shake request for each of the failing requests?
Beta Was this translation helpful? Give feedback.
All reactions