prometheus-node-exporter: Enable systemd collector
This commit is contained in:
parent
e80cf71f04
commit
be9bd76373
|
@ -13,6 +13,7 @@ in
|
||||||
services.prometheus.exporters.node = {
|
services.prometheus.exporters.node = {
|
||||||
enable = true;
|
enable = true;
|
||||||
listenAddress = vpnAddress;
|
listenAddress = vpnAddress;
|
||||||
|
enabledCollectors = [ "systemd " ];
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.prometheus-node-exporter.after = [ "wireguard-wg-home.service" ];
|
systemd.services.prometheus-node-exporter.after = [ "wireguard-wg-home.service" ];
|
||||||
|
|
Loading…
Reference in a new issue