Export more aggregates for the Jetty thread pool metrics
@@ -158,6 +158,12 @@ public class VespaMetricSet {
addMetric(metrics, "jdisc.thread_pool.size", suffixes);
addMetric(metrics, "jdisc.thread_pool.max_allowed_size", suffixes);
addMetric(metrics, "jdisc.thread_pool.active_threads", suffixes);
+
+ addMetric(metrics, "jdisc.http.jetty.threadpool.thread.max", suffixes);
+ addMetric(metrics, "jdisc.http.jetty.threadpool.thread.reserved", suffixes);
+ addMetric(metrics, "jdisc.http.jetty.threadpool.thread.busy", suffixes);
+ addMetric(metrics, "jdisc.http.jetty.threadpool.thread.total", suffixes);
+ addMetric(metrics, "jdisc.http.jetty.threadpool.queue.size", suffixes);
}
metrics.add(new Metric("httpapi_latency.max"));
@@ -227,12 +233,6 @@ public class VespaMetricSet {
metrics.add(new Metric("jdisc.http.handler.unhandled_exceptions.rate"));
- 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"));
-
addMetric(metrics, "jdisc.http.filtering.request.handled", List.of("rate"));
addMetric(metrics, "jdisc.http.filtering.request.unhandled", List.of("rate"));
addMetric(metrics, "jdisc.http.filtering.response.handled", List.of("rate"));
