Commit Graph

7 Commits

Author SHA1 Message Date
Neil Johnson
1f39155071
Include user agent in user daily visits table ()
Include user agent in user daily visits table.
2020-10-15 10:36:40 +01:00
Patrick Cloke
e4f72ddc44
Move additional tasks to the background worker () 2020-10-07 11:27:56 -04:00
Patrick Cloke
62894673e6
Allow background tasks to be run on a separate worker. () 2020-10-02 08:23:15 -04:00
Richard van der Hoff
20e7c4de26 Add an improved "forward extremities" metric
Hopefully, N(extremities) * N(state_events) is a more realistic approximation
to "how big a problem is this room?".
2020-09-30 16:49:15 +01:00
Richard van der Hoff
6d2d42f8fb 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?)
2020-09-30 16:49:15 +01:00
Patrick Cloke
04faa0bfa9
Convert tags and metrics databases to async/await () 2020-08-11 17:21:20 -04:00
Erik Johnston
a7bdf98d01
Rename database classes to make some sense () 2020-08-05 21:38:57 +01:00