diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-01-12 23:21:32 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-01-12 23:49:44 +0000 |
commit | 19d274085fa939c440667759d38a8a255216899b (patch) | |
tree | 37a3cfd296f6e0847ba966adf88dd62adc1255e8 /synapse/handlers/appservice.py | |
parent | Merge pull request #2777 from matrix-org/rav/fix_remote_thumbnails (diff) | |
download | synapse-19d274085fa939c440667759d38a8a255216899b.tar.xz |
Make Counter render floats
Prometheus handles all metrics as floats, and sometimes we store non-integer values in them (notably, durations in seconds), so let's render them as floats too. (Note that the standard client libraries also treat Counters as floats.)
Diffstat (limited to 'synapse/handlers/appservice.py')
0 files changed, 0 insertions, 0 deletions