arashi: init exporters
All checks were successful
flake check / check (push) Successful in 4m22s
fmt check / check (push) Successful in 57s
All checks were successful
flake check / check (push) Successful in 4m22s
fmt check / check (push) Successful in 57s
This commit is contained in:
parent
6a51075486
commit
2c9ee605b4
3 changed files with 14 additions and 1 deletions
|
@ -4,7 +4,6 @@
|
|||
./services
|
||||
./networking.nix
|
||||
../../modules
|
||||
../../modules/prometheus/exporters/postgres.nix
|
||||
];
|
||||
|
||||
boot.loader = {
|
||||
|
|
|
@ -3,5 +3,6 @@ _: {
|
|||
./restic.nix
|
||||
./postgresql.nix
|
||||
./redis.nix
|
||||
./exporters.nix
|
||||
];
|
||||
}
|
||||
|
|
13
hosts/arashi/services/exporters.nix
Normal file
13
hosts/arashi/services/exporters.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue