summary refs log tree commit diff
path: root/synapse/metrics
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-06-14 18:21:42 +0100
committerGitHub <noreply@github.com>2019-06-14 18:21:42 +0100
commit9ca4ae71314e177210f858819c76ed0fa2f40d15 (patch)
treee889b4147b41f2e7ec453e4df748b1feed711469 /synapse/metrics
parentMerge pull request #5465 from matrix-org/babolivier/fix_deactivation_bg_job (diff)
parentNewsfile (diff)
downloadsynapse-9ca4ae71314e177210f858819c76ed0fa2f40d15.tar.xz
Merge pull request #5461 from matrix-org/erikj/histograms_are_cumalitive
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)])