feat: add postgres exporter to postgres nodes

This commit is contained in:
Ashhhleyyy 2024-06-05 02:24:58 +01:00
parent a3cb3422ec
commit 719337a915
Signed by: ash
GPG key ID: 83B789081A0878FB
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,4 @@
{ ... }: {
services.tailscale.enable = true;
networking.firewall.trustedInterfaces = ["tailsacle0"];
}

View file

@ -35,4 +35,9 @@
host all all ::1/128 scram-sha-256
'';
};
services.prometheus.exporters.postgres = {
enable = true;
runAsLocalSuperUser = true;
};
}