diff options
author | Richard van der Hoff <richard@matrix.org> | 2020-09-29 22:26:28 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2020-09-30 16:49:15 +0100 |
commit | 6d2d42f8fb04599713d3e6e7fc3bc4c9b7063c9a (patch) | |
tree | b4920ec10ed196ea84ca5701e171f395737e8ec1 /demo | |
parent | Fix _exposition.py to stop stripping samples (diff) | |
download | synapse-6d2d42f8fb04599713d3e6e7fc3bc4c9b7063c9a.tar.xz |
Rewrite BucketCollector
This was a bit unweildy for what I wanted: in particular, I wanted to assign each measurement straight into a bucket, rather than storing an intermediate Counter which didn't do any bucketing at all. I've replaced it with something that is hopefully a bit easier to use. (I'm not entirely sure what the difference between a HistogramMetricFamily and a GaugeHistogramMetricFamily is, but given our counters can go down as well as up the latter *sounds* more accurate?)
Diffstat (limited to 'demo')
0 files changed, 0 insertions, 0 deletions