summary refs log tree commit diff
path: root/synapse/storage/databases/main/metrics.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add an improved "forward extremities" metricRichard van der Hoff2020-09-301-2/+25
| | | | | Hopefully, N(extremities) * N(state_events) is a more realistic approximation to "how big a problem is this room?".
* Rewrite BucketCollectorRichard van der Hoff2020-09-301-16/+10
| | | | | | | | | | | | 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?)
* Convert tags and metrics databases to async/await (#8062)Patrick Cloke2020-08-111-14/+6
|
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-051-0/+130