diff options
author | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2020-10-09 16:07:47 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2020-10-09 16:07:47 +0200 |
commit | 89bae57c273f139753fd4237f77dce9a9003d515 (patch) | |
tree | f19c187b18a612ef6935eab7c33c72cd39e8eae5 /config-model | |
parent | 443f2ce98ce0e87df4c5fa99ced334718bc19b21 (diff) |
Reduce set of exported metrics
Diffstat (limited to 'config-model')
-rw-r--r-- | config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/VespaMetricSet.java | 15 |
1 files changed, 5 insertions, 10 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 1ab614a917a..b492df3a251 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 @@ -200,16 +200,11 @@ public class VespaMetricSet { metrics.add(new Metric("jdisc.http.handler.unhandled_exceptions.rate")); - { - List<String> suffices = List.of("sum", "count", "last", "min", "max"); - addMetric(metrics, "jdisc.http.jetty.threadpool.thread.max", suffices); - addMetric(metrics, "jdisc.http.jetty.threadpool.thread.min", suffices); - addMetric(metrics, "jdisc.http.jetty.threadpool.thread.reserved", suffices); - addMetric(metrics, "jdisc.http.jetty.threadpool.thread.busy", suffices); - addMetric(metrics, "jdisc.http.jetty.threadpool.thread.idle", suffices); - addMetric(metrics, "jdisc.http.jetty.threadpool.thread.total", suffices); - addMetric(metrics, "jdisc.http.jetty.threadpool.queue.size", suffices); - } + addMetric(metrics, "jdisc.http.jetty.threadpool.thread.max", List.of("last")); + addMetric(metrics, "jdisc.http.jetty.threadpool.thread.reserved", List.of("last")); + addMetric(metrics, "jdisc.http.jetty.threadpool.thread.busy", List.of("sum", "count", "min", "max")); + addMetric(metrics, "jdisc.http.jetty.threadpool.thread.total", List.of("sum", "count", "min", "max")); + addMetric(metrics, "jdisc.http.jetty.threadpool.queue.size", List.of("sum", "count", "min", "max")); return metrics; } |