MyNixOS website logo
option

services.prometheus.exporters.postgres.dataSourceName

Accepts PostgreSQL URI form and key=value form arguments.

Declarations
Type
string
Default
"user=postgres database=postgres host=/run/postgresql sslmode=disable"
Example
"postgresql://username:password@localhost:5432/postgres?sslmode=disable"