fix: refresh dashboard variables on time range change, not just page load

This commit is contained in:
2026-08-20 14:07:10 +02:00
parent 6dbb6c5f55
commit c8f74e2a3c
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1453,7 +1453,7 @@
"query": "label_values(container_label_com_docker_stack_namespace)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 2,
@@ -1578,7 +1578,7 @@
"query": "label_values(instance)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"refresh": 2,
"regex": "/^(?:(?:node|cadvisor).)?(.*)$/",
"skipUrlSync": false,
"sort": 0,
+1 -1
View File
@@ -1765,7 +1765,7 @@
"query": "label_values(node_uname_info, instance)",
"refId": "Prometheus-node_id-Variable-Query"
},
"refresh": 1,
"refresh": 2,
"regex": "/^(?:node.)?(.*)$/",
"skipUrlSync": false,
"sort": 0,
+2 -2
View File
@@ -1539,7 +1539,7 @@
"query": "label_values(traefik_service_requests_total, protocol)",
"refId": "Prometheus-protocol-Variable-Query"
},
"refresh": 1,
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
@@ -1644,7 +1644,7 @@
"query": "query_result(label_replace(traefik_config_reloads_total, \"domain\", \"$1\", \"instance\", `^metrics\\.(.+)$`))",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"refresh": 2,
"regex": "/domain=\"([^\"]+)\"/",
"skipUrlSync": false,
"sort": 1,