From 4752d980663dd6b4517e4868391ea1680c720643 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 19 Jul 2026 16:48:33 +0200 Subject: modules/monitoring/prometheus: Actually configure the systemd exporter --- modules/by-name/mo/monitoring/components/prometheus.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'modules/by-name') diff --git a/modules/by-name/mo/monitoring/components/prometheus.nix b/modules/by-name/mo/monitoring/components/prometheus.nix index 8086a72..dbe6c06 100644 --- a/modules/by-name/mo/monitoring/components/prometheus.nix +++ b/modules/by-name/mo/monitoring/components/prometheus.nix @@ -189,6 +189,13 @@ in { enable = true; port = 9116; listenAddress = "127.0.0.1"; + extraFlags = [ + "--systemd.collector.enable-restart-count" + "--systemd.collector.enable-file-descriptor-size" + "--systemd.collector.enable-ip-accounting" + "--log.level=info" + "--systemd.collector.unit-include=.*.service|.*.timer" + ]; }; }; }; -- cgit v1.3.1