mirror of
https://github.com/element-hq/synapse
synced 2024-07-04 12:13:29 +00:00
This PR modifies `GaugeBucketCollector` to only report data once it has been updated, rather than initially reporting a value of 0. Fixes zero values being reported for some metrics on startup until a background job to update the metric's value runs later.
2 lines
147 B
Plaintext
2 lines
147 B
Plaintext
Prevent `synapse_forward_extremities` and `synapse_excess_extremity_events` Prometheus metrics from initially reporting zero-values after startup.
|