divviup / janus

Experimental implementation of the Distributed Aggregation Protocol (DAP) specification.
Mozilla Public License 2.0
53 stars 15 forks source link

Replace gauges with observable gauges #3452

Closed divergentdave closed 3 weeks ago

divergentdave commented 4 weeks ago

After deploying, I noticed that janus_helper_max_outstanding_requests only shows up as a single blip in one scrape, and it has no value after that. This PR fixes that by replacing the Gauges with ObservableGauges, so we can always record a value each time a callback is called.

See #3444.