diff options
author | yngveaasheim <yngve@yahooinc.com> | 2023-07-31 16:42:36 +0200 |
---|---|---|
committer | yngveaasheim <yngve@yahooinc.com> | 2023-07-31 16:42:36 +0200 |
commit | deb2e40366ff3211e7ba4964fb85b90d38ec5ce2 (patch) | |
tree | 73193d7e7ca8b67aa1967d7e9ef546df4147bbdc /config-model | |
parent | 973bf954814ec474d596bc169064b33eba7f4dd8 (diff) |
Include remaining metrics used by alerts. Fix two comments from Ola.
Diffstat (limited to 'config-model')
2 files changed, 11 insertions, 3 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/InfrastructureMetricSet.java b/config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/InfrastructureMetricSet.java index 306138106e0..92156c959a0 100644 --- a/config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/InfrastructureMetricSet.java +++ b/config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/InfrastructureMetricSet.java @@ -123,6 +123,10 @@ public class InfrastructureMetricSet { private static Set<Metric> getControllerMetrics() { Set<Metric> metrics = new LinkedHashSet<>(); + addMetric(metrics, ControllerMetrics.ATHENZ_REQUEST_ERROR.count()); + addMetric(metrics, ControllerMetrics.ARCHIVE_BUCKET_COUNT.last()); + addMetric(metrics, ControllerMetrics.BILLING_TENANTS.last()); + addMetric(metrics, ControllerMetrics.DEPLOYMENT_ABORT.count()); addMetric(metrics, ControllerMetrics.DEPLOYMENT_AVERAGE_DURATION, EnumSet.of(max, last)); // TODO: Vespa 9: Remove last. addMetric(metrics, ControllerMetrics.DEPLOYMENT_CONVERGENCE_FAILURE.count()); @@ -136,16 +140,22 @@ public class InfrastructureMetricSet { addMetric(metrics, ControllerMetrics.DEPLOYMENT_SUCCESS.count()); addMetric(metrics, ControllerMetrics.DEPLOYMENT_TEST_FAILURE.count()); addMetric(metrics, ControllerMetrics.DEPLOYMENT_WARNINGS.last()); + addMetric(metrics, ControllerMetrics.DEPLOYMENT_ENDPOINT_CERTIFICATE_TIMEOUT.count()); + addMetric(metrics, ControllerMetrics.DEPLOYMENT_BROKEN_SYSTEM_VERSION.last()); - addMetric(metrics, ControllerMetrics.OPERATION_API.last()); addMetric(metrics, ControllerMetrics.OPERATION_APPLICATION.last()); + addMetric(metrics, ControllerMetrics.OPERATION_CHANGEMANAGEMENT.last()); addMetric(metrics, ControllerMetrics.OPERATION_CONFIGSERVER.last()); addMetric(metrics, ControllerMetrics.OPERATION_CONTROLLER.last()); addMetric(metrics, ControllerMetrics.OPERATION_FLAGS.last()); addMetric(metrics, ControllerMetrics.OPERATION_OS.last()); addMetric(metrics, ControllerMetrics.OPERATION_ROUTING.last()); addMetric(metrics, ControllerMetrics.OPERATION_ZONE.last()); + + addMetric(metrics, ControllerMetrics.REMAINING_ROTATIONS.last()); + addMetric(metrics, ControllerMetrics.DNS_QUEUED_REQUESTS.last()); addMetric(metrics, ControllerMetrics.ZMS_QUOTA_USAGE.last()); + addMetric(metrics, ControllerMetrics.COREDUMP_PROCESSED.count()); addMetric(metrics, ControllerMetrics.METERING_AGE_SECONDS.last()); diff --git a/config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/VespaMetricSet.java b/config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/VespaMetricSet.java index b05122f22e2..a0d866fb001 100644 --- a/config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/VespaMetricSet.java +++ b/config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/VespaMetricSet.java @@ -2,9 +2,7 @@ package com.yahoo.vespa.model.admin.monitoring; import ai.vespa.metrics.ClusterControllerMetrics; -import ai.vespa.metrics.ConfigServerMetrics; import ai.vespa.metrics.ContainerMetrics; -import ai.vespa.metrics.ControllerMetrics; import ai.vespa.metrics.DistributorMetrics; import ai.vespa.metrics.LogdMetrics; import ai.vespa.metrics.NodeAdminMetrics; |