aboutsummaryrefslogtreecommitdiffstats
path: root/zkfacade/src/main/java/com/yahoo/vespa/curator/stats/LockMetrics.java
Commit message (Collapse)AuthorAgeFilesLines
* Update copyrightJon Bratseth2023-10-091-1/+1
|
* Update Verizon Media copyright notices.gjoranv2021-10-071-1/+1
|
* Replace deadlock avoidance with metricsHåkon Hallingstad2020-10-191-0/+38
|
* Avoid metrics on reentry of lockHåkon Hallingstad2020-10-081-18/+37
|
* Avoid even small double-counting of locked timeHåkon Hallingstad2020-10-071-7/+8
|
* Make richer latency statsHåkon Hallingstad2020-10-051-38/+22
| | | | | | | | | Makes a LatencyStats which provides some useful metrics, best explained there and in LatencyMetrics. This includes latency metrics, the "QPS" (e.g. the number of acquire() per second), and load metrics. Unfortunately I had to move from atomics to synchronized to accomplish this, but I see no other way.
* Move lock metrics to MetricsReporterHåkon Hallingstad2020-10-031-0/+138
Adds two new metrics: - The load of acquiring each lock path: The average number of threads waiting to acquire the lock within the last minute (or unit of time). Aka the lock queue (depth). - The load of the lock for each lock path: The average number of threads holding the lock within the last minute (or unit of time). This is always <= 1. Aka the lock utilization. Changes the LockCounters to LockMetrics, and exporting those once every minute through MetricReporter which is designed for this.