Skip to content

Commit

Permalink
Expose CERTIFICATE_REQUEST_EXCEPTIONS
Browse files Browse the repository at this point in the history
  • Loading branch information
olaaun committed Feb 12, 2025
1 parent 471e8fa commit 233e237
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public enum ControllerMetrics implements VespaMetrics {
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"),
CERTIFICATE_REQUEST_EXCEPTIONS("requestCaSignedCertificate.exception", Unit.FAILURE, "Controller: Exceptions when requesting CA signed certificates"),
BILLING_CREDITS("billing.credits.remaining", Unit.DOLLAR, "Controller: Billing credits remaining"),
BILLING_EXCEPTIONS("billing.exceptions", Unit.FAILURE, "Controller: Billing related exceptions"),
BILLING_WEBHOOK_FAILURES("billing.webhook.failures", Unit.FAILURE, "Controller: webhook failures"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ private static Set<Metric> getControllerMetrics() {
addMetric(metrics, ControllerMetrics.CERTIFICATE_POOL_AVAILABLE.max());
addMetric(metrics, ControllerMetrics.CERTIFICATE_COUNT.max());
addMetric(metrics, ControllerMetrics.CERTIFICATE_NAME_COUNT.max());
addMetric(metrics, ControllerMetrics.CERTIFICATE_REQUEST_EXCEPTIONS.count());

addMetric(metrics, ControllerMetrics.METERING_AGE_SECONDS.min());
addMetric(metrics, ControllerMetrics.METERING_LAST_REPORTED.max());
Expand Down

0 comments on commit 233e237

Please sign in to comment.