mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-04-27 05:28:03 +00:00
Fix grafana dashboard
Add missing refId Signed-off-by: Vitaly Zhuravlev <zhuravlev.vitaly@gmail.com>
This commit is contained in:
parent
830d022807
commit
6e17545993
@ -1332,7 +1332,8 @@
|
|||||||
"name": "job",
|
"name": "job",
|
||||||
"options": [],
|
"options": [],
|
||||||
"query": {
|
"query": {
|
||||||
"query": "label_values(pg_up, job)"
|
"query": "label_values(pg_up, job)",
|
||||||
|
"refId": "StandardVariableQuery"
|
||||||
},
|
},
|
||||||
"refresh": 1,
|
"refresh": 1,
|
||||||
"regex": "",
|
"regex": "",
|
||||||
@ -1365,7 +1366,8 @@
|
|||||||
"name": "instance",
|
"name": "instance",
|
||||||
"options": [],
|
"options": [],
|
||||||
"query": {
|
"query": {
|
||||||
"query": "label_values(pg_up{job=~\"$job\"},instance)"
|
"query": "label_values(pg_up{job=~\"$job\"},instance)",
|
||||||
|
"refId": "StandardVariableQuery"
|
||||||
},
|
},
|
||||||
"refresh": 1,
|
"refresh": 1,
|
||||||
"regex": "",
|
"regex": "",
|
||||||
@ -1389,7 +1391,8 @@
|
|||||||
"name": "db",
|
"name": "db",
|
||||||
"options": [],
|
"options": [],
|
||||||
"query": {
|
"query": {
|
||||||
"query": "label_values(pg_stat_database_tup_fetched{instance=~\"$instance\",datname!~\"template.*|postgres\"},datname)"
|
"query": "label_values(pg_stat_database_tup_fetched{instance=~\"$instance\",datname!~\"template.*|postgres\"},datname)",
|
||||||
|
"refId": "StandardVariableQuery"
|
||||||
},
|
},
|
||||||
"refresh": 1,
|
"refresh": 1,
|
||||||
"regex": "",
|
"regex": "",
|
||||||
|
Loading…
Reference in New Issue
Block a user