Skip to content
Snippets Groups Projects
Forked from Maunium / synapse
Source project has a limited visibility.
  • Richard van der Hoff's avatar
    6d2d42f8
    Rewrite BucketCollector · 6d2d42f8
    Richard van der Hoff authored
    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?)
    6d2d42f8
    History
    Rewrite BucketCollector
    Richard van der Hoff authored
    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?)