Skip to content

Replace hedged requests roundtrips total with a counter #4060

@joe-elliott

Description

@joe-elliott

We are currently using a gauge incorrectly to report hedged roundtrips on both external endpoints and backend requests. This has worked in the past but recently we have seen this report erroneous results when rate()ing in prometheus. It's possible it never worked correctly and we have only recently noticed. Regardless, it's bad practice and we should fix it.

External Hedged Requests Gauge

Backend Hedged Requests Gauge

Shared code in use for both Gauges

Let's replace the two linked gauges above with counters.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions