mirror of https://github.com/hashicorp/consul
improve client RPC metrics consistency (#19721)
The client.rpc metric now excludes internal retries for consistency with client.rpc.exceeded and client.rpc.failed. All of these metrics now increment at most once per RPC method call, allowing for accurate calculation of failure / rate limit application occurrence. Additionally, if an RPC fails because no servers are present, client.rpc.failed is now incremented.pull/19852/head
parent
efe279f802
commit
d3e658b0e7
@ -0,0 +1,6 @@
|
||||
```release-note:improvement
|
||||
metrics: modify consul.client.rpc metric to exclude internal retries for consistency with consul.client.rpc.exceeded and consul.client.rpc.failed
|
||||
```
|
||||
```release-note:improvement
|
||||
metrics: increment consul.client.rpc.failed if RPC fails because no servers are accessible
|
||||
```
|
Loading…
Reference in new issue