mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-19 21:14:37 -04:00
Merge pull request #5461 from matrix-org/erikj/histograms_are_cumalitive
Prometheus histograms are cumalative
This commit is contained in:
commit
9ca4ae7131
4 changed files with 13 additions and 12 deletions
|
@ -228,7 +228,8 @@ class EventsStore(
|
|||
self._state_resolution_handler = hs.get_state_resolution_handler()
|
||||
|
||||
# Collect metrics on the number of forward extremities that exist.
|
||||
self._current_forward_extremities_amount = {}
|
||||
# Counter of number of extremities to count
|
||||
self._current_forward_extremities_amount = c_counter()
|
||||
|
||||
BucketCollector(
|
||||
"synapse_forward_extremities",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue