node_exporter: Fix name of systemd collector

This commit is contained in:
Simon Bruder 2021-02-21 00:04:26 +01:00
parent 785bb2214b
commit 13876617f5
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -3,7 +3,7 @@
services.prometheus.exporters.node = { services.prometheus.exporters.node = {
enable = config.sbruder.wireguard.home.enable; enable = config.sbruder.wireguard.home.enable;
listenAddress = config.sbruder.wireguard.home.address; listenAddress = config.sbruder.wireguard.home.address;
enabledCollectors = [ "systemd " ]; enabledCollectors = [ "systemd" ];
}; };
systemd.services.prometheus-node-exporter.after = [ "wireguard-wg-home.service" ]; systemd.services.prometheus-node-exporter.after = [ "wireguard-wg-home.service" ];