summaryrefslogtreecommitdiffstats
path: root/metrics
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2024-05-21 14:57:09 +0200
committerMartin Polden <mpolden@mpolden.no>2024-05-21 14:57:09 +0200
commitb7e80113bdd4d71bd0affd69664fe92dfcb2bce1 (patch)
treec6ce79a404d2ca3a5a5d4f4a0ede87ac8fc3f311 /metrics
parent2b08f380d52c7c5b5e5678f5f582fb93647c2529 (diff)
Add certificate metric names
Diffstat (limited to 'metrics')
-rw-r--r--metrics/src/main/java/ai/vespa/metrics/ControllerMetrics.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/metrics/src/main/java/ai/vespa/metrics/ControllerMetrics.java b/metrics/src/main/java/ai/vespa/metrics/ControllerMetrics.java
index dc461fbdbfa..6f5d1fd7d98 100644
--- a/metrics/src/main/java/ai/vespa/metrics/ControllerMetrics.java
+++ b/metrics/src/main/java/ai/vespa/metrics/ControllerMetrics.java
@@ -44,6 +44,8 @@ public enum ControllerMetrics implements VespaMetrics {
COREDUMP_PROCESSED("coredump.processed", Unit.FAILURE,"Controller: Core dumps processed"),
AUTH0_EXCEPTIONS("auth0.exceptions", Unit.FAILURE, "Controller: Auth0 exceptions"),
CERTIFICATE_POOL_AVAILABLE("certificate_pool_available", Unit.FRACTION, "Available certificates in the pool, fraction of configured size"),
+ CERTIFICATE_COUNT("certificate.activeCount", Unit.ITEM, "The total number of active certificates in the system"),
+ CERTIFICATE_NAME_COUNT("certificate.activeNameCount", Unit.ITEM, "The total number of names (CN + SAN fields) across all active certificate in the system"),
BILLING_EXCEPTIONS("billing.exceptions", Unit.FAILURE, "Controller: Billing related exceptions"),
BILLING_WEBHOOK_FAILURES("billing.webhook.failures", Unit.FAILURE, "Controller: webhook failures"),
BILLING_WEBHOOK_REQUESTS("billing.webhook.requests", Unit.REQUEST, "Controller: webhook requests"),