mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-19 01:07:49 -04:00
Prometheus histograms are cumalative
This commit is contained in:
parent
d0530382ee
commit
3ed595e327
3 changed files with 12 additions and 12 deletions
|
@ -224,7 +224,6 @@ class BucketCollector(object):
|
|||
for i, bound in enumerate(self.buckets):
|
||||
if x <= bound:
|
||||
buckets[bound] = buckets.get(bound, 0) + data[x]
|
||||
break
|
||||
|
||||
for i in self.buckets:
|
||||
res.append([str(i), buckets.get(i, 0)])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue