This is really a grafana question, not a prometheus question. You can make
a new variable in exactly the same way as the "instance" one to capture the
"server" label:
Instance:
Query:
query_result(pg_settings_seq_page_cost{instance="$instance",job="postgres_exporter"})
Regex: /.*server="([^"]+).*/
If necessary, replace pg_settings_seq_page_cost with some metric that you
expect to see as part of *every* postgres instance scrape.
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/d88505b2-d608-427c-b361-e850b6168462o%40googlegroups.com.