Просмотр исходного кода

Merge pull request #268 from nickbabcock/prom-update2

Set dashboard variables to refresh on time range change
Nick Babcock 3 лет назад
Родитель
Сommit
7eefb310df
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      assets/dashboards/ohm-prometheus.json

+ 4 - 4
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
 }