services.prometheus.exporters.postgres.dataSourceName

NixOS option

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 in: nixos/modules/services/monitoring/prometheus/exporters.nixView source on NixOS/nixpkgs →