summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@verizonmedia.com>2022-04-20 09:19:18 +0200
committerBjørn Christian Seime <bjorncs@verizonmedia.com>2022-04-20 09:19:22 +0200
commitec190d515b8cfae3b5640315095f3fc558487c11 (patch)
tree16e426cb9fa35eb8845b71b76bdc9b1612176aed /config-model/src/main/java
parent4aa2d5bdecc22607b66ba5988a9812e2a3028e1f (diff)
Introduce new metrics for container threadpool
Add the new metrics to improve observability of container threadpools. These will be included in the updated container tuning docs.
Diffstat (limited to 'config-model/src/main/java')
-rw-r--r--config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/VespaMetricSet.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/VespaMetricSet.java b/config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/VespaMetricSet.java
index 34586df424f..befc8117d3c 100644
--- a/config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/VespaMetricSet.java
+++ b/config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/VespaMetricSet.java
@@ -154,6 +154,10 @@ public class VespaMetricSet {
addMetric(metrics, "jdisc.thread_pool.unhandled_exceptions", suffixes);
addMetric(metrics, "jdisc.thread_pool.work_queue.capacity", suffixes);
addMetric(metrics, "jdisc.thread_pool.work_queue.size", suffixes);
+ addMetric(metrics, "jdisc.thread_pool.rejected_tasks", suffixes);
+ addMetric(metrics, "jdisc.thread_pool.size", suffixes);
+ addMetric(metrics, "jdisc.thread_pool.max_allowed_size", suffixes);
+ addMetric(metrics, "jdisc.thread_pool.active_threads", suffixes);
}
metrics.add(new Metric("httpapi_latency.max"));