Skip to content

Commit 2edccd4

Browse files
k8s-stack: add groupLabels to group modifiers. fixes #2524
1 parent 706bb6b commit 2edccd4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

charts/victoria-metrics-k8s-stack/files/dashboards/generated/kubernetes-system-api-server.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ templating:
2727
type: {{ $defaultDatasource }}
2828
uid: ${datasource}
2929
type: {{ ternary "query" "constant" $multicluster }}
30-
query: {{ ternary (printf "{\"refId\":\"PrometheusVariableQueryEditor-VariableQuery\",\"qryType\":1,\"query\":\"label_values(kube_node_info, %s)\"}" $clusterLabel) ".*" $multicluster }}
30+
query: {{ ternary (printf "{\"qryType\":1,\"query\":\"label_values(kube_node_info, %s)\",\"refId\":\"PrometheusVariableQueryEditor-VariableQuery\"}" $clusterLabel) ".*" $multicluster }}
3131
definition: {{ ternary (printf "label_values(kube_node_info, %s)" $clusterLabel) ".*" $multicluster }}
3232
hide: {{ ternary 0 2 $multicluster }}
3333
current:

charts/victoria-metrics-k8s-stack/files/dashboards/generated/kubernetes-views-global.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ templating:
2727
type: {{ $defaultDatasource }}
2828
uid: ${datasource}
2929
type: {{ ternary "query" "constant" $multicluster }}
30-
query: {{ ternary (printf "{\"refId\":\"PrometheusVariableQueryEditor-VariableQuery\",\"qryType\":1,\"query\":\"label_values(kube_node_info, %s)\"}" $clusterLabel) ".*" $multicluster }}
30+
query: {{ ternary (printf "{\"qryType\":1,\"query\":\"label_values(kube_node_info, %s)\",\"refId\":\"PrometheusVariableQueryEditor-VariableQuery\"}" $clusterLabel) ".*" $multicluster }}
3131
definition: {{ ternary (printf "label_values(kube_node_info, %s)" $clusterLabel) ".*" $multicluster }}
3232
hide: {{ ternary 0 2 $multicluster }}
3333
current: {}

0 commit comments

Comments
 (0)