aboutsummaryrefslogtreecommitdiffstats
path: root/container-core
diff options
context:
space:
mode:
authorYngve Aasheim <yngveaasheim@users.noreply.github.com>2023-01-12 13:48:48 +0100
committerGitHub <noreply@github.com>2023-01-12 13:48:48 +0100
commitee59cc51949b0b909f586634dd582ff0336053a4 (patch)
tree89919a2a857654918e33a3370ab5c7cece6227c6 /container-core
parent61acd5aa3a1bf9098c87fdc098c7982301f0910c (diff)
parentcca3eb91a8c69506b667213c7d39ed96c119f2eb (diff)
Merge pull request #25533 from vespa-engine/yngveaasheim/use-enum-for-handled-metrics
Use 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 5aacf53ead9..a595cf8b049 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"),