summary refs log tree commit diff
path: root/synapse/metrics
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-06-14 14:07:32 +0100
committerErik Johnston <erik@matrix.org>2019-06-14 14:07:32 +0100
commit3ed595e327aee6d45ed0371c98e828d724c26b2d (patch)
tree12c4ace5f37569f1c298043ed3989995dc4e22a5 /synapse/metrics
parentTrack deactivated accounts in the database (#5378) (diff)
downloadsynapse-3ed595e327aee6d45ed0371c98e828d724c26b2d.tar.xz
Prometheus histograms are cumalative
Diffstat (limited to 'synapse/metrics')
-rw-r--r--synapse/metrics/__init__.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/metrics/__init__.py b/synapse/metrics/__init__.py
index 0d3ae1a43d..8aee14a8a8 100644
--- a/synapse/metrics/__init__.py
+++ b/synapse/metrics/__init__.py
@@ -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)])