mirror of
https://github.com/prometheus/prometheus
synced 2025-01-14 02:43:35 +00:00
Merge pull request #9723 from f9n/patch-1
mixin: Reorder template variables on Remote Write dashboard
This commit is contained in:
commit
21e6f3f7f8
@ -312,9 +312,9 @@ local template = grafana.template;
|
||||
)
|
||||
.addTemplate(
|
||||
template.new(
|
||||
'instance',
|
||||
'cluster',
|
||||
'$datasource',
|
||||
'label_values(prometheus_build_info, instance)' % $._config,
|
||||
'label_values(kube_pod_container_info{image=~".*prometheus.*"}, cluster)' % $._config,
|
||||
refresh='time',
|
||||
current={
|
||||
selected: true,
|
||||
@ -326,9 +326,9 @@ local template = grafana.template;
|
||||
)
|
||||
.addTemplate(
|
||||
template.new(
|
||||
'cluster',
|
||||
'instance',
|
||||
'$datasource',
|
||||
'label_values(kube_pod_container_info{image=~".*prometheus.*"}, cluster)' % $._config,
|
||||
'label_values(prometheus_build_info{cluster=~"$cluster"}, instance)' % $._config,
|
||||
refresh='time',
|
||||
current={
|
||||
selected: true,
|
||||
|
Loading…
Reference in New Issue
Block a user