summary refs log tree commit diff
path: root/synapse/metrics
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-06-14 12:59:02 +0100
committerGitHub <noreply@github.com>2019-06-14 12:59:02 +0100
commitf03f8b7f4c806f2681c38c76af6cbc4ecdde0527 (patch)
tree5ae159b98c8e640f5863a472f3dd550dcaf329f3 /synapse/metrics
parentUpdates to the federation_client script (#5447) (diff)
parentchangelog (diff)
downloadsynapse-f03f8b7f4c806f2681c38c76af6cbc4ecdde0527.tar.xz
Merge pull request #5458 from matrix-org/hawkowl/fix-prometheus
Fix Prometheus erroring after the extremities monitoring
Diffstat (limited to 'synapse/metrics')
-rw-r--r--synapse/metrics/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/metrics/__init__.py b/synapse/metrics/__init__.py
index 539c353528..0d3ae1a43d 100644
--- a/synapse/metrics/__init__.py
+++ b/synapse/metrics/__init__.py
@@ -227,7 +227,7 @@ class BucketCollector(object):
                     break
 
         for i in self.buckets:
-            res.append([i, buckets.get(i, 0)])
+            res.append([str(i), buckets.get(i, 0)])
 
         res.append(["+Inf", sum(data.values())])