aboutsummaryrefslogtreecommitdiffstats
path: root/metrics
diff options
context:
space:
mode:
authoryngveaasheim <yngve@yahooinc.com>2023-07-31 16:42:36 +0200
committeryngveaasheim <yngve@yahooinc.com>2023-07-31 16:42:36 +0200
commitdeb2e40366ff3211e7ba4964fb85b90d38ec5ce2 (patch)
tree73193d7e7ca8b67aa1967d7e9ef546df4147bbdc /metrics
parent973bf954814ec474d596bc169064b33eba7f4dd8 (diff)
Include remaining metrics used by alerts. Fix two comments from Ola.
Diffstat (limited to 'metrics')
-rw-r--r--metrics/src/main/java/ai/vespa/metrics/ControllerMetrics.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/metrics/src/main/java/ai/vespa/metrics/ControllerMetrics.java b/metrics/src/main/java/ai/vespa/metrics/ControllerMetrics.java
index 01146adb8f0..c2307eb1376 100644
--- a/metrics/src/main/java/ai/vespa/metrics/ControllerMetrics.java
+++ b/metrics/src/main/java/ai/vespa/metrics/ControllerMetrics.java
@@ -5,7 +5,9 @@ package ai.vespa.metrics;
*/
public enum ControllerMetrics implements VespaMetrics {
- // The metrics enumerated in this file is intentionally not added to the metrics reference documentation.
+ ATHENZ_REQUEST_ERROR("athenz.request.error", Unit.REQUEST, "Controller: Athenz request error"),
+ ARCHIVE_BUCKET_COUNT("archive.bucketCount", Unit.BUCKET, "Controller: Archive bucket count"),
+
DEPLOYMENT_START("deployment.start", Unit.DEPLOYMENT, "The number of started deployment jobs"),
DEPLOYMENT_NODE_ALLOCATION_FAILURE("deployment.nodeAllocationFailure", Unit.DEPLOYMENT, "The number of deployments failed due to node allocation failures"),
DEPLOYMENT_ENDPOINT_CERTIFICATE_TIMEOUT("deployment.endpointCertificateTimeout", Unit.DEPLOYMENT, "The number of deployments failed due to timeout acquiring endpoint certificate"),
@@ -37,10 +39,11 @@ public enum ControllerMetrics implements VespaMetrics {
DNS_QUEUED_REQUESTS("dns.queuedRequests", Unit.REQUEST, "Queued DNS requests"),
ZMS_QUOTA_USAGE("zms.quota.usage", Unit.FRACTION, "ZMS Quota usage per resource type"),
+ COREDUMP_PROCESSED("coredump.processed", Unit.FAILURE,"Controller: Core dumps processed"),
// Metrics per API, metrics created in ControllerMaintainer/MetricsReporter
- OPERATION_API("operation.api.last", Unit.REQUEST, "Controller: Requests for /api API"),
OPERATION_APPLICATION("operation.application", Unit.REQUEST, "Controller: Requests for /application API"),
+ OPERATION_CHANGEMANAGEMENT("operation.changemanagement", Unit.REQUEST, "Controller: Requests for /changemanagement API"),
OPERATION_CONFIGSERVER("operation.configserver", Unit.REQUEST, "Controller: Requests for /configserver API"),
OPERATION_CONTROLLER("operation.controller", Unit.REQUEST, "Controller: Requests for /controller API"),
OPERATION_FLAGS("operation.flags", Unit.REQUEST, "Controller: Requests for /flags API"),