From 6b95f54ca70519b36ca3f6716ecbe3cd9be62a95 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Thu, 7 Jan 2021 10:01:36 +0000 Subject: [PATCH] ops/nixos/lib/common: add systemd collector to all systems --- ops/nixos/lib/common.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ops/nixos/lib/common.nix b/ops/nixos/lib/common.nix index 1bb7f30144..43b79c56ae 100644 --- a/ops/nixos/lib/common.nix +++ b/ops/nixos/lib/common.nix @@ -147,6 +147,9 @@ in ); }); - services.prometheus.exporters.node.enable = true; + services.prometheus.exporters.node = { + enable = true; + enabledCollectors = [ "systemd" ]; + }; }; }