forked from coop-cloud/monitoring-ng
fix: refresh dashboard variables on time range change, not just page load
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user