From 2f0abd5a445be7fa81c1d1fa936b789dafe21fe6 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sun, 5 Jan 2025 18:07:41 -0600 Subject: [PATCH] update to select instance --- dashboards/application/radarr.json | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/dashboards/application/radarr.json b/dashboards/application/radarr.json index bf416d1..db4bf88 100644 --- a/dashboards/application/radarr.json +++ b/dashboards/application/radarr.json @@ -69,7 +69,7 @@ "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { - "calcs": ["mean"], + "calcs": ["lastNotNull"], "fields": "", "values": false }, @@ -141,7 +141,7 @@ "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { - "calcs": ["mean"], + "calcs": ["lastNotNull"], "fields": "", "values": false }, @@ -301,7 +301,7 @@ "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { - "calcs": ["mean"], + "calcs": ["lastNotNull"], "fields": "", "values": false }, @@ -363,7 +363,7 @@ "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { - "calcs": ["mean"], + "calcs": ["lastNotNull"], "fields": "", "values": false }, @@ -415,12 +415,21 @@ "text": "radarr5", "value": "radarr5" }, - "datasource": "${DS_PROMETHEUS}", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "definition": "label_values(radarr_system_status,namespace)", "includeAll": false, "label": "Instance", + "multi": false, "name": "namespace", "options": [], - "query": "label_values(namespace)", + "query": { + "qryType": 1, + "query": "label_values(radarr_system_status,namespace)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" + }, "refresh": 1, "regex": "", "type": "query" @@ -435,6 +444,6 @@ "timezone": "browser", "title": "Radarr", "uid": "2a6acbba669631b2f359bd9e2ce84162", - "version": 2, + "version": 3, "weekStart": "" }