nixos/prometheus.exporters.pgbouncer: migrate from connectionString to connectionStringFile

This commit is contained in:
Felix Buehler 2023-11-05 19:56:13 +01:00
parent e0a147a3c8
commit b6b15798ef

View file

@ -969,7 +969,7 @@ let
pgbouncer = {
exporterConfig = {
enable = true;
connectionString = "postgres://admin:@localhost:6432/pgbouncer?sslmode=disable";
connectionStringFile = pkgs.writeText "connection.conf" "postgres://admin:@localhost:6432/pgbouncer?sslmode=disable";
};
metricProvider = {