From b6b15798ef8e6b3bee16e1c402b92f685dc5b355 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sun, 5 Nov 2023 19:56:13 +0100 Subject: [PATCH] nixos/prometheus.exporters.pgbouncer: migrate from connectionString to connectionStringFile --- nixos/tests/prometheus-exporters.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/prometheus-exporters.nix b/nixos/tests/prometheus-exporters.nix index e27de66a16a0..4bad56991cc6 100644 --- a/nixos/tests/prometheus-exporters.nix +++ b/nixos/tests/prometheus-exporters.nix @@ -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 = {