mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-18 15:04:34 -04:00
fix prometheus rendering error
This commit is contained in:
parent
b59a4eba64
commit
a10c8dae85
2 changed files with 24 additions and 39 deletions
|
@ -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())])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue