nixos/prometheus.exporters.pgbouncer: migrate from connectionString to connectionStringFile
This commit is contained in:
parent
e0a147a3c8
commit
b6b15798ef
@ -969,7 +969,7 @@ let
|
|||||||
pgbouncer = {
|
pgbouncer = {
|
||||||
exporterConfig = {
|
exporterConfig = {
|
||||||
enable = true;
|
enable = true;
|
||||||
connectionString = "postgres://admin:@localhost:6432/pgbouncer?sslmode=disable";
|
connectionStringFile = pkgs.writeText "connection.conf" "postgres://admin:@localhost:6432/pgbouncer?sslmode=disable";
|
||||||
};
|
};
|
||||||
|
|
||||||
metricProvider = {
|
metricProvider = {
|
||||||
|
Loading…
Reference in New Issue
Block a user