From b41265ee209d3ebbf5f8abf95ab4a20b0fca93e1 Mon Sep 17 00:00:00 2001 From: Thomas Way Date: Thu, 27 Mar 2025 00:48:35 +0000 Subject: [PATCH] fix(k8s-views-namespaces): use custom all value for created_by filter All other filters use a custom all value as it's much more efficient than constructing a query with every single created_by value. It also prevents queries from becoming too long and rejected by Prometheus. Fixes: #146 --- dashboards/k8s-views-namespaces.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dashboards/k8s-views-namespaces.json b/dashboards/k8s-views-namespaces.json index 28d3b60..8b8efca 100644 --- a/dashboards/k8s-views-namespaces.json +++ b/dashboards/k8s-views-namespaces.json @@ -2997,6 +2997,7 @@ "type": "custom" }, { + "allValue": ".*", "current": {}, "datasource": { "type": "prometheus", @@ -3029,6 +3030,6 @@ "timezone": "", "title": "Kubernetes / Views / Namespaces", "uid": "k8s_views_ns", - "version": 42, + "version": 43, "weekStart": "" }