diff options
author | Amber H. Brown <hawkowl@atleastfornow.net> | 2019-06-14 21:09:33 +1000 |
---|---|---|
committer | Amber H. Brown <hawkowl@atleastfornow.net> | 2019-06-14 21:09:33 +1000 |
commit | a10c8dae85d3706afbab588e1004350aa5b49539 (patch) | |
tree | b1ac4fe2d782c3d70721d495db74f9d24f116a02 /synapse/metrics | |
parent | Updates to the federation_client script (#5447) (diff) | |
download | synapse-a10c8dae85d3706afbab588e1004350aa5b49539.tar.xz |
fix prometheus rendering error
Diffstat (limited to 'synapse/metrics')
-rw-r--r-- | synapse/metrics/__init__.py | 2 |
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())]) |