From 4adb72b8c306d813febff932b3c6b113f3a0041c Mon Sep 17 00:00:00 2001 From: Nick Babcock Date: Tue, 30 Nov 2021 17:11:39 -0600 Subject: [PATCH] Set dashboard variables to refresh on time range change This can clean up the dashboard a bit when one decides to view a time range that predates a nic, disk, etc, as this will remove a blank breakdown new disks when viewing old data. This also makes it consistent between all the variables (some were already configured to refresh on time range change) --- assets/dashboards/ohm-prometheus.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/dashboards/ohm-prometheus.json b/assets/dashboards/ohm-prometheus.json index 40b869b..383ac9d 100644 --- a/assets/dashboards/ohm-prometheus.json +++ b/assets/dashboards/ohm-prometheus.json @@ -4017,7 +4017,7 @@ "query": "{__name__=~\"ohm_nic_.*\",instance=\"$instance\"}", "refId": "StandardVariableQuery" }, - "refresh": 1, + "refresh": 2, "regex": "/.*hardware=\"([^\"]*).*/", "skipUrlSync": false, "sort": 0, @@ -4040,7 +4040,7 @@ "query": "{__name__=~\"ohm_cpu_.*\",instance=\"$instance\"}", "refId": "StandardVariableQuery" }, - "refresh": 1, + "refresh": 2, "regex": "/.*hardware=\"([^\"]*).*/", "skipUrlSync": false, "sort": 0, @@ -4063,7 +4063,7 @@ "query": "{__name__=~\"ohm_gpu.*\",instance=\"$instance\"}", "refId": "StandardVariableQuery" }, - "refresh": 1, + "refresh": 2, "regex": "/.*hardware=\"([^\"]*).*/", "skipUrlSync": false, "sort": 0, @@ -4079,5 +4079,5 @@ "timezone": "", "title": "Ohm Windows Desktop", "uid": "EEQD4wv7z", - "version": 43 + "version": 45 }