mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-04-29 14:38:04 +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,
|
"multi": true,
|
||||||
"name": "instance",
|
"name": "instance",
|
||||||
"options": [],
|
"options": [],
|
||||||
"query": "label_values(up{job=~\"$job\"},instance)",
|
"query": "label_values(pg_up{job=~\"$job\"},instance)",
|
||||||
"refresh": 1,
|
"refresh": 1,
|
||||||
"regex": "",
|
"regex": "",
|
||||||
"skipUrlSync": false,
|
"skipUrlSync": false,
|
||||||
|
Loading…
Reference in New Issue
Block a user