From 9d36cfe29fb19c058441712b839ba19d814c634c Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 8 Oct 2020 17:42:18 +0100 Subject: [PATCH] Enable systemd collector --- cookbooks/prometheus/recipes/default.rb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cookbooks/prometheus/recipes/default.rb b/cookbooks/prometheus/recipes/default.rb index 82ac2ba3a..caac9aeb7 100644 --- a/cookbooks/prometheus/recipes/default.rb +++ b/cookbooks/prometheus/recipes/default.rb @@ -87,5 +87,12 @@ end prometheus_exporter "node" do port 9100 - options "--collector.ntp --collector.processes --collector.interrupts --collector.tcpstat --collector.textfile.directory=/var/lib/prometheus/node-exporter" + options %w[ + --collector.textfile.directory=/var/lib/prometheus/node-exporter + --collector.interrupts + --collector.ntp + --collector.processes + --collector.systemd + --collector.tcpstat + ] end -- 2.39.5