diff options
author | Erik Johnston <erik@matrix.org> | 2019-06-14 12:59:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-14 12:59:02 +0100 |
commit | f03f8b7f4c806f2681c38c76af6cbc4ecdde0527 (patch) | |
tree | 5ae159b98c8e640f5863a472f3dd550dcaf329f3 /synapse/metrics | |
parent | Updates to the federation_client script (#5447) (diff) | |
parent | changelog (diff) | |
download | synapse-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__.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())]) |