summaryrefslogtreecommitdiffstats
path: root/zkfacade
diff options
context:
space:
mode:
authorjonmv <venstad@gmail.com>2023-09-07 16:55:53 +0200
committerjonmv <venstad@gmail.com>2023-09-07 16:55:53 +0200
commit9ce9249f9aeb64a0ecfbd6a4601030e42a27a21a (patch)
treed1c710775d3a1ba4ae6a4c17bd593f5ceb39f08e /zkfacade
parentc226beefe3ac3005b566a3b668d1521ae314e06b (diff)
Mention non-zero load only per thread in doc
Diffstat (limited to 'zkfacade')
-rw-r--r--zkfacade/src/main/java/com/yahoo/vespa/curator/stats/LatencyMetrics.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/zkfacade/src/main/java/com/yahoo/vespa/curator/stats/LatencyMetrics.java b/zkfacade/src/main/java/com/yahoo/vespa/curator/stats/LatencyMetrics.java
index 58780f3906e..8e7a7956aed 100644
--- a/zkfacade/src/main/java/com/yahoo/vespa/curator/stats/LatencyMetrics.java
+++ b/zkfacade/src/main/java/com/yahoo/vespa/curator/stats/LatencyMetrics.java
@@ -59,7 +59,7 @@ public class LatencyMetrics {
/** Returns the average number of intervals that ended in the period per second. */
public double endHz() { return roundTo3DecimalPlaces(endHz); }
- /** Returns the average load of the implied time periond, per thread, with 3 decimal places precision. */
+ /** Returns the average load of the implied time periond, for each thread with non-zero load, with 3 decimal places precision. */
public Map<String, Double> loadByThread() {
Map<String, Double> result = new TreeMap<>();
loadByThread.forEach((name, load) -> result.put(name, roundTo3DecimalPlaces(load)));