mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-23 18:15:53 +03:00
0d87c6bd12
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.
1 line
147 B
Text
1 line
147 B
Text
Prevent `synapse_forward_extremities` and `synapse_excess_extremity_events` Prometheus metrics from initially reporting zero-values after startup.
|