From ec190d515b8cfae3b5640315095f3fc558487c11 Mon Sep 17 00:00:00 2001 From: Bjørn Christian Seime Date: Wed, 20 Apr 2022 09:19:18 +0200 Subject: 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. --- .../java/com/yahoo/vespa/model/admin/monitoring/VespaMetricSet.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config-model') 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")); -- cgit v1.2.3