mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-04-27 21:48:02 +00:00
Fix instance selector
Use psql specific metric to avoid return of postgres unrelated instances Signed-off-by: Vitaly Zhuravlev <zhuravlev.vitaly@gmail.com>
This commit is contained in:
parent
4fb732cf1d
commit
594249474e
@ -1341,7 +1341,7 @@
|
||||
"multi": true,
|
||||
"name": "instance",
|
||||
"options": [],
|
||||
"query": "label_values(up{job=~\"$job\"},instance)",
|
||||
"query": "label_values(pg_up{job=~\"$job\"},instance)",
|
||||
"refresh": 1,
|
||||
"regex": "",
|
||||
"skipUrlSync": false,
|
||||
|
Loading…
Reference in New Issue
Block a user