postgres_exporter
postgres_exporter copied to clipboard
When using multiple DSN, pg_database_size_bytes only return metrics from first DSN
What did you do? Install postgres_exporter with multiple postgresql DSN
What did you expect to see?
show metric pg_database_size_bytes
from all database from all DSN and with server
label
What did you see instead? Under which circumstances?
Only pg_database_size_bytes
from the first DSN in the comma-separated DSN is returned and without server
label
Environment
-
System information: Kubernetes 1.28 on AWS EKS
-
postgres_exporter version:
prometheus-postgres-exporter-5.1.0 v0.14.0
-
postgres_exporter flags:
-
PostgreSQL version:
all supported version
-
Logs: