Skip to content

Commit 5caf5d7

Browse files
committed
Chain dashboard jon and instance vars
Signed-off-by: Vitaly Zhuravlev <[email protected]>
1 parent 530e351 commit 5caf5d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mysqld-mixin/dashboards/mysql-overview.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3739,14 +3739,14 @@
37393739
]
37403740
},
37413741
"datasource": "$datasource",
3742-
"definition": "label_values(mysql_up, instance)",
3742+
"definition": "label_values(mysql_up{job=~\"$job\"}, instance)",
37433743
"hide": 0,
37443744
"includeAll": true,
37453745
"label": "instance",
37463746
"multi": true,
37473747
"name": "instance",
37483748
"options": [],
3749-
"query": "label_values(mysql_up, instance)",
3749+
"query": "label_values(mysql_up{job=~\"$job\"}, instance)",
37503750
"refresh": 1,
37513751
"regex": "",
37523752
"skipUrlSync": false,

0 commit comments

Comments
 (0)