data-hoarder: add prometheus node_exporter
This commit is contained in:
parent
52c34bdcb2
commit
4273af69ce
|
@ -15,5 +15,6 @@
|
|||
./website.nix
|
||||
./trekkie.nix
|
||||
./chemo.nix
|
||||
./prometheus-exporter.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
||||
}
|
Loading…
Reference in New Issue