services.prometheus.exporters.postgres.dataSourceName

Accepts PostgreSQL URI form and key=value form arguments.

Type
string
Default
"user=postgres database=postgres host=/run/postgresql sslmode=disable"
Example
"postgresql://username:password@localhost:5432/postgres?sslmode=disable"
Declared
<nixpkgs/nixos/modules/services/monitoring/prometheus/exporters.nix>