mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 22:14:55 -04:00
Prometheus histograms are cumalative
This commit is contained in:
parent
d0530382ee
commit
3ed595e327
3 changed files with 12 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