summary refs log tree commit diff
path: root/synapse/storage/databases/main/metrics.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix user_daily_visits to not have duplicate rows for UA. (#8654)Erik Johnston2020-10-261-4/+5
| | | | | | | | | | | * Fix user_daily_visits to not have duplicate rows for UA. Fixes #8641. * Newsfile * Fix typo. Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
* Include user agent in user daily visits table (#8503)Neil Johnson2020-10-151-3/+8
| | | Include user agent in user daily visits table.
* Move additional tasks to the background worker (#8458)Patrick Cloke2020-10-071-9/+5
|
* Allow background tasks to be run on a separate worker. (#8369)Patrick Cloke2020-10-021-0/+195
|
* 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