metrics: Add a gauge for the number of active blocking queries #6846
Labels
theme/operator-usability
Replaces UX. Anything related to making things easier for the practitioner
theme/telemetry
Anything related to telemetry or observability
type/enhancement
Proposed improvement or new feature
We currently have a metric for blocking queries but it's almost useless since it's a counter that increments whenever a blocking query begins:
consul/agent/consul/rpc.go
Line 495 in 973341a
What operators (and consul developer 😉 ) really want to know about is how many blocking queries are actually open/being handled right now.
This should be easy:
Note that we shouldn't replace or rename the current metric since that is a breaking change for users monitoring stacks, this should be a new gauge, I suggest we call it
consul.rpc.queries_blocking
or something (that bikeshed needs painting).The text was updated successfully, but these errors were encountered: