data-hoarder: add prometheus node_exporter

This commit is contained in:
oxapentane - 2023-05-03 23:03:11 +02:00
parent 52c34bdcb2
commit 4273af69ce
Signed by: oxapentane
GPG Key ID: 91FA5E5BF9AA901C
2 changed files with 18 additions and 0 deletions

View File

@ -15,5 +15,6 @@
./website.nix
./trekkie.nix
./chemo.nix
./prometheus-exporter.nix
];
}

View File

@ -0,0 +1,17 @@
{ self, config, ... }:
{
# metrics exporter
services.prometheus.exporters = {
node = {
enable = true;
port = 8119;
listenAddress = config.deployment-TLMS.net.wg.addr4;
enabledCollectors = [
"systemd"
];
};
};
# log exporter
}