services.prometheus.exporters.pgbouncer.connectionString

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
<nixpkgs/nixos/modules/services/monitoring/prometheus/exporters.nix>