Eric Eastwood
561d06b481
Remove support for Python 3.7 ( #15851 )
Fix https://github.com/matrix-org/synapse/issues/15836
10 months ago
Patrick Cloke
a4ca770655
Add missing type hints to tests. ( #14687 )
Adds type hints to tests.metrics and tests.crypto.
1 year ago
David Robertson
2bb2c32e8e
Avoid incrementing bg process utime/stime counters by negative durations ( #14323 )
1 year ago
Amber Brown
fcc525b0b7
rest of the changes
6 years ago
Erik Johnston
32015e1109
Escape label values in prometheus metrics
6 years ago
Richard van der Hoff
bc496df192
report metrics on number of cache evictions
6 years ago
Erik Johnston
73c7112433
Change CacheMetrics to be quicker
We change it so that each cache has an individual CacheMetric, instead
of having one global CacheMetric. This means that when a cache tries to
increment a counter it does not need to go through so many indirections.
8 years ago
Mark Haines
7641a90c34
Add a test for TreeCache.__contains__
8 years ago
Matthew Hodgson
6c28ac260c
copyrights
8 years ago
Paul "LeoNerd" Evans
c1cdd7954d
Add an .inc_by() method to CounterMetric; implement DistributionMetric a neater way
9 years ago
Paul "LeoNerd" Evans
f1fbe3e09f
Rename TimerMetric to DistributionMetric; as it could count more than just time
9 years ago
Paul "LeoNerd" Evans
cbc0406be8
Export CacheMetric as hits+total, rather than hits+misses, as it's easier to derive hit ratio from that
9 years ago
Paul "LeoNerd" Evans
0e847540c3
Prometheus needs "escaped" label values
9 years ago
Paul "LeoNerd" Evans
b3a0179d64
Bugfix to rendering output of vectored TimerMetrics
9 years ago
Paul "LeoNerd" Evans
f9478e475b
Rename Metrics' "keys" to "labels"
9 years ago
Paul "LeoNerd" Evans
72625f2f4d
Initial hack at a TimerMetric; for storing counts + duration accumulators
9 years ago
Paul "LeoNerd" Evans
23ab0c68c2
Implement vector CallbackMetrics
9 years ago
Paul "LeoNerd" Evans
8664599af7
Rename CacheCounterMetric to just CacheMetric; add a CallbackMetric component to give the size of the cache
9 years ago
Paul "LeoNerd" Evans
d8caa5454d
Initial attempt at a scalar callback-based metric to give instantaneous snapshot gauges
9 years ago
Paul "LeoNerd" Evans
ce8b5769f7
Create the concept of a cachecounter metric; generating two counters specific to caches
9 years ago
Paul "LeoNerd" Evans
e7420a3bef
Initial tiny attempt at (vectorable) counter metrics
9 years ago