summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorAmber H. Brown <hawkowl@atleastfornow.net>2019-06-14 21:09:33 +1000
committerAmber H. Brown <hawkowl@atleastfornow.net>2019-06-14 21:09:33 +1000
commita10c8dae85d3706afbab588e1004350aa5b49539 (patch)
treeb1ac4fe2d782c3d70721d495db74f9d24f116a02 /synapse
parentUpdates to the federation_client script (#5447) (diff)
downloadsynapse-a10c8dae85d3706afbab588e1004350aa5b49539.tar.xz
fix prometheus rendering error
Diffstat (limited to 'synapse')
-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())])