summaryrefslogtreecommitdiffstats
path: root/container-core
diff options
context:
space:
mode:
authorYngve Aasheim <yngveaasheim@users.noreply.github.com>2023-01-12 13:35:47 +0100
committerGitHub <noreply@github.com>2023-01-12 13:35:47 +0100
commit5c5910787b03738d83cbe32ee2f0aba6dd1052e4 (patch)
tree5dec86f72c5a5342a9e793f4ddb8e19fa968bbef /container-core
parentbf97fcd47792f15d15f5b25fc3373fc654a87baf (diff)
Add enum for serverBytes 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..dd67b8c2264 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"),
+ SERVER_BYTES_RECEIVED("", Unit.BYTE, "The number of bytes received by the server"),
+ SERVER_BYTES_SENT("", Unit.BYTE, "The number of bytes sent from the server"),
+
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"),