feat: add postgres exporter to postgres nodes
This commit is contained in:
parent
a3cb3422ec
commit
719337a915
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
{ ... }: {
|
{ ... }: {
|
||||||
services.tailscale.enable = true;
|
services.tailscale.enable = true;
|
||||||
|
networking.firewall.trustedInterfaces = ["tailsacle0"];
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,4 +35,9 @@
|
||||||
host all all ::1/128 scram-sha-256
|
host all all ::1/128 scram-sha-256
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.prometheus.exporters.postgres = {
|
||||||
|
enable = true;
|
||||||
|
runAsLocalSuperUser = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue