services.prometheus.exporters.pgbouncer.connectionString

NixOS option

Connection string for accessing pgBouncer. NOTE: You MUST keep pgbouncer as database name (special internal db)!!! NOTE: ignore_startup_parameters MUST contain “extra_float_digits”. NOTE: Admin user (with password or passwordless) MUST exist in the auth_file if auth_type other than “any” is used. WARNING: this secret is stored in the world-readable Nix store! Use services.prometheus.exporters.pgbouncer.connectionEnvFile if the URL contains a secret.

type: null or string
Default
null
Example
"postgres://admin:@localhost:6432/pgbouncer?sslmode=require"
declared in: nixos/modules/services/monitoring/prometheus/exporters.nixView source on NixOS/nixpkgs →