arashi: init exporters
All checks were successful
flake check / check (push) Successful in 4m22s
fmt check / check (push) Successful in 57s

This commit is contained in:
notohh 2024-01-17 08:53:41 -05:00
parent 6a51075486
commit 2c9ee605b4
Signed by: notohh
GPG key ID: BD47506D475EE86D
3 changed files with 14 additions and 1 deletions

View file

@ -4,7 +4,6 @@
./services
./networking.nix
../../modules
../../modules/prometheus/exporters/postgres.nix
];
boot.loader = {

View file

@ -3,5 +3,6 @@ _: {
./restic.nix
./postgresql.nix
./redis.nix
./exporters.nix
];
}

View file

@ -0,0 +1,13 @@
_: {
services.prometheus.exporters.redis = {
enable = true;
openFirewall = true;
port = 9002;
};
services.prometheus.exporters.postgres = {
enable = true;
openFirewall = true;
port = 9003;
};
}