MatrixSynapse/synapse/metrics
Andrew Morgan 0d87c6bd12
Don't report anything from GaugeBucketCollector metrics until data is present (#8926)
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.
2021-04-06 16:32:04 +01:00
..
__init__.py Don't report anything from GaugeBucketCollector metrics until data is present (#8926) 2021-04-06 16:32:04 +01:00
_exposition.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
background_process_metrics.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00