summaryrefslogtreecommitdiffstats
path: root/container-core
diff options
context:
space:
mode:
authorYngve Aasheim <yngveaasheim@users.noreply.github.com>2023-01-12 13:21:25 +0100
committerGitHub <noreply@github.com>2023-01-12 13:21:25 +0100
commitb3250347da3b5358c5aac86a49b6b1bac6c00190 (patch)
tree6020a1b102fd56a0a92a3203b0eba2c68fb2a1c8 /container-core
parent9667e51302674c198421a010e66efb8de8990f35 (diff)
Add enum for 'handled' metrics
Diffstat (limited to 'container-core')
-rw-r--r--container-core/src/main/java/com/yahoo/metrics/ContainerMetrics.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/container-core/src/main/java/com/yahoo/metrics/ContainerMetrics.java b/container-core/src/main/java/com/yahoo/metrics/ContainerMetrics.java
index b481333a0b9..a688f9aea37 100644
--- a/container-core/src/main/java/com/yahoo/metrics/ContainerMetrics.java
+++ b/container-core/src/main/java/com/yahoo/metrics/ContainerMetrics.java
@@ -35,6 +35,9 @@ public enum ContainerMetrics {
SERVER_NUM_OPEN_CONNECTIONS("serverNumOpenConnections", Unit.CONNECTION, "The number of currently open connections"),
SERVER_NUM_CONNECTIONS("serverNumConnections", Unit.CONNECTION, "The total number of connections opened"),
+ HANDLED_REQUESTS("handled.requests", Unit.OPERATION, "The number of requests handled per metrics snapshot"),
+ HANDLED_LATENCY("handled.latency", Unit.MILLISECOND, "The time used for requests during this metrics snapshot"),
+
HTTPAPI_LATENCY("httpapi_latency", Unit.MILLISECOND, "Duration for requests to the HTTP document APIs"),
HTTPAPI_PENDING("httpapi_pending", Unit.OPERATION, "Document operations pending execution"),
HTTPAPI_NUM_OPERATIONS("httpapi_num_operations", Unit.OPERATION, "Total number of document operations performed"),