summary refs log tree commit diff
path: root/tests/metrics (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add missing type hints to tests. (#14687)Patrick Cloke2022-12-281-8/+16
| | | Adds type hints to tests.metrics and tests.crypto.
* Avoid incrementing bg process utime/stime counters by negative durations ↵David Robertson2022-10-313-0/+225
| | | | (#14323)
* rest of the changesAmber Brown2018-05-212-192/+0
|
* Escape label values in prometheus metricsErik Johnston2018-05-021-1/+20
|
* report metrics on number of cache evictionsRichard van der Hoff2018-02-051-0/+12
|
* Change CacheMetrics to be quickerErik Johnston2016-06-031-13/+10
| | | | | | 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.
* Add a test for TreeCache.__contains__Mark Haines2016-02-221-0/+3
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Add an .inc_by() method to CounterMetric; implement DistributionMetric a ↵Paul "LeoNerd" Evans2015-03-121-3/+2
| | | | neater way
* Rename TimerMetric to DistributionMetric; as it could count more than just timePaul "LeoNerd" Evans2015-03-121-12/+12
|
* Export CacheMetric as hits+total, rather than hits+misses, as it's easier to ↵Paul "LeoNerd" Evans2015-03-121-3/+3
| | | | derive hit ratio from that
* Prometheus needs "escaped" label valuesPaul "LeoNerd" Evans2015-03-121-27/+27
|
* Bugfix to rendering output of vectored TimerMetricsPaul "LeoNerd" Evans2015-03-121-4/+4
|
* Rename Metrics' "keys" to "labels"Paul "LeoNerd" Evans2015-03-121-3/+3
|
* Initial hack at a TimerMetric; for storing counts + duration accumulatorsPaul "LeoNerd" Evans2015-03-121-1/+35
|
* Implement vector CallbackMetricsPaul "LeoNerd" Evans2015-03-121-1/+17
|
* Rename CacheCounterMetric to just CacheMetric; add a CallbackMetric ↵Paul "LeoNerd" Evans2015-03-121-9/+15
| | | | component to give the size of the cache
* Initial attempt at a scalar callback-based metric to give instantaneous ↵Paul "LeoNerd" Evans2015-03-121-1/+21
| | | | snapshot gauges
* Create the concept of a cachecounter metric; generating two counters ↵Paul "LeoNerd" Evans2015-03-121-1/+26
| | | | specific to caches
* Initial tiny attempt at (vectorable) counter metricsPaul "LeoNerd" Evans2015-03-122-0/+61