diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2021-04-06 16:32:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-06 16:32:04 +0100 |
commit | 0d87c6bd121d043d5474cc20e352794ff8cf5625 (patch) | |
tree | 26afd51df477905f6eda1cb87430ea6bc4e8e9f6 /changelog.d | |
parent | Add a Synapse Module for configuring presence update routing (#9491) (diff) | |
download | synapse-0d87c6bd121d043d5474cc20e352794ff8cf5625.tar.xz |
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.
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/8926.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/8926.bugfix b/changelog.d/8926.bugfix new file mode 100644 index 0000000000..aad7bd83ce --- /dev/null +++ b/changelog.d/8926.bugfix @@ -0,0 +1 @@ +Prevent `synapse_forward_extremities` and `synapse_excess_extremity_events` Prometheus metrics from initially reporting zero-values after startup. |