summary refs log tree commit diff
path: root/synapse/events
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-09-29 22:26:28 +0100
committerRichard van der Hoff <richard@matrix.org>2020-09-30 16:49:15 +0100
commit6d2d42f8fb04599713d3e6e7fc3bc4c9b7063c9a (patch)
treeb4920ec10ed196ea84ca5701e171f395737e8ec1 /synapse/events
parentFix _exposition.py to stop stripping samples (diff)
downloadsynapse-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 'synapse/events')
0 files changed, 0 insertions, 0 deletions