Merge pull request #265708 from Stunkymonkey/nixos-test-prometheus-exporters

nixos/prometheus-exporters: fix knot & pgbounce tests
This commit is contained in:
Maximilian Bosch
2023-11-05 23:18:51 +01:00
committed by GitHub
+2 -2
View File
@@ -471,7 +471,7 @@ let
services.knot = {
enable = true;
extraArgs = [ "-v" ];
extraConfig = ''
settingsFile = pkgs.writeText "knot.conf" ''
server:
listen: 127.0.0.1@53
@@ -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 = {