From 1b3b897cea1a6b1b2647e502ec10732f648c91fb Mon Sep 17 00:00:00 2001 From: Kasper Jacobsen Date: Fri, 23 May 2025 13:55:45 +0200 Subject: [PATCH] Add label filter to 'Active Workers' panel Adds `{namespace="$SystemNamespace"}` label filter to panel to avoid showing all metrics from any controller runtime built controller --- .../ARC-Autoscaling-Runner-Set-Monitoring.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/gha-runner-scale-set-controller/samples/grafana-dashboard/ARC-Autoscaling-Runner-Set-Monitoring.json b/docs/gha-runner-scale-set-controller/samples/grafana-dashboard/ARC-Autoscaling-Runner-Set-Monitoring.json index 43f53e01..f2c76f65 100644 --- a/docs/gha-runner-scale-set-controller/samples/grafana-dashboard/ARC-Autoscaling-Runner-Set-Monitoring.json +++ b/docs/gha-runner-scale-set-controller/samples/grafana-dashboard/ARC-Autoscaling-Runner-Set-Monitoring.json @@ -1847,7 +1847,7 @@ "targets": [ { "editorMode": "code", - "expr": "sum by (controller) (controller_runtime_active_workers)", + "expr": "sum by (controller) (controller_runtime_active_workers{namespace=\"$SystemNamespace\"})", "legendFormat": "__auto", "range": true, "refId": "A",