From 0aed46fe6c0702507c37b72216fae3a22b3529b7 Mon Sep 17 00:00:00 2001 From: Prashanth Josyula Date: Mon, 29 Dec 2025 11:10:14 -0800 Subject: [PATCH 1/2] Add documentation for activator_autoscaler_reachable metric Document the new activator_autoscaler_reachable gauge metric that indicates whether the autoscaler is reachable from the activator component (1 = reachable, 0 = not reachable). --- .../observability/metrics/serving-metrics.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/versioned/serving/observability/metrics/serving-metrics.md b/docs/versioned/serving/observability/metrics/serving-metrics.md index c6d4343365..636feafe1e 100644 --- a/docs/versioned/serving/observability/metrics/serving-metrics.md +++ b/docs/versioned/serving/observability/metrics/serving-metrics.md @@ -92,6 +92,20 @@ Name | Type | Description `kn.configuration.name` | string | Knative Configuration name associated with this Revision `kn.revision.name` | string | The name of the Revision +### `activator_autoscaler_reachable` + +**Instrument Type:** Int64Gauge + +**Unit ([UCUM](https://ucum.org)):** {reachable} + +**Description:** Whether the autoscaler is reachable from the activator (1 = reachable, 0 = not reachable) + +This metric helps operators identify connectivity issues between the activator and autoscaler components. The metric is recorded: + +- When stats are successfully sent to the autoscaler (value = 1) +- When stats fail to send to the autoscaler (value = 0) +- Periodically every 5 seconds based on connection status check + ### HTTP metrics Since the activator receives and forwards requests to the user workload it has both HTTP server and client metrics. From 316a43d2a1a9fa67ac8d646ea188fac852756bad Mon Sep 17 00:00:00 2001 From: Prashanth Josyula Date: Tue, 30 Dec 2025 09:00:04 -0800 Subject: [PATCH 2/2] Correcting the metric name inline with knative standards --- docs/versioned/serving/observability/metrics/serving-metrics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/versioned/serving/observability/metrics/serving-metrics.md b/docs/versioned/serving/observability/metrics/serving-metrics.md index 636feafe1e..a6116c5316 100644 --- a/docs/versioned/serving/observability/metrics/serving-metrics.md +++ b/docs/versioned/serving/observability/metrics/serving-metrics.md @@ -92,7 +92,7 @@ Name | Type | Description `kn.configuration.name` | string | Knative Configuration name associated with this Revision `kn.revision.name` | string | The name of the Revision -### `activator_autoscaler_reachable` +### `kn.activator.autoscaler.reachable` **Instrument Type:** Int64Gauge