summary refs log tree commit diff
path: root/tests/storage/test_event_metrics.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Don't instansiate Requester directly (#8614)Erik Johnston2020-10-221-2/+2
|
* Rewrite BucketCollectorRichard van der Hoff2020-09-301-8/+11
| | | | | | | | | | | | 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?)
* Add a shadow-banned flag to users. (#8092)Patrick Cloke2020-08-141-1/+1
|
* Add ability to wait for replication streams (#7542)Erik Johnston2020-05-221-1/+1
| | | | | | | The idea here is that if an instance persists an event via the replication HTTP API it can return before we receive that event over replication, which can lead to races where code assumes that persisting an event immediately updates various caches (e.g. current state of the room). Most of Synapse doesn't hit such races, so we don't do the waiting automagically, instead we do so where necessary to avoid unnecessary delays. We may decide to change our minds here if it turns out there are a lot of subtle races going on. People probably want to look at this commit by commit.
* Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957)Patrick Cloke2020-02-211-19/+17
| | | | Ensure good comprehension hygiene using flake8-comprehensions.
* Support Prometheus_client 0.4.0+ (#5636)Amber Brown2019-07-181-3/+1
|
* Run Black. (#5482)Amber Brown2019-06-201-17/+19
|
* Prometheus histograms are cumalativeErik Johnston2019-06-141-10/+10
|
* fix prometheus rendering errorAmber H. Brown2019-06-141-38/+23
|
* Expose statistics on extrems to prometheus (#5384)Amber Brown2019-06-131-0/+97