From 62d3b64fe8a6dab68e2317642488301ad67a993a Mon Sep 17 00:00:00 2001 From: Victoria Xu Date: Thu, 10 Sep 2026 15:04:20 -0700 Subject: [PATCH] update metrics catalog to with nginx.ssl.certificate.expiry.time metric --- content/includes/nginxaas/metrics-catalog.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content/includes/nginxaas/metrics-catalog.md b/content/includes/nginxaas/metrics-catalog.md index d1616eeda..3144ddf76 100644 --- a/content/includes/nginxaas/metrics-catalog.md +++ b/content/includes/nginxaas/metrics-catalog.md @@ -95,9 +95,12 @@ server { | ------ | ------ | ---- | ----------- | ------------| | nginx.ssl.handshakes | nginxaas_organization_object_id, nginxaas_namespace, nginxaas_deployment_object_id, nginxaas_deployment_name, nginxaas_deployment_location, nginx_ssl_status, nginx_ssl_handshake_reason | count | The total number of SSL handshakes (successful and failed). | deployment | | nginx.ssl.certificate.verify_failures | nginxaas_organization_object_id, nginxaas_namespace, nginxaas_deployment_object_id, nginxaas_deployment_name, nginxaas_deployment_location, nginx_ssl_verify_failure_reason | count | The total number of SSL certificate verification failures, categorized by reason. | deployment | +| nginx.ssl.certificate.expiry.time | nginxaas_organization_object_id, nginxaas_namespace, nginxaas_deployment_object_id, nginxaas_deployment_name, nginxaas_deployment_location, file_path, public_key_algorithm, serial_number, subject_common_name | gauge | The Unix timestamp, in seconds, at which an SSL/TLS certificate expires. | deployment | {{< /table >}} +{{< call-out class="note" >}} The `nginx.ssl.certificate.expiry.time` metric reports the expiry time of the certificate as an absolute Unix timestamp. To chart or alert on the time remaining, subtract the current time. For example, in PromQL: `nginx.ssl.certificate.expiry.time - time()`. {{< /call-out >}} + ### NGINX cache statistics To collect cache metrics, configure caching in your NGINX configuration using the `proxy_cache_path` and `proxy_cache` directives.