diff --git a/sp-modules/monitoring/module.nix b/sp-modules/monitoring/module.nix index 7ad8f83..47d7e2a 100644 --- a/sp-modules/monitoring/module.nix +++ b/sp-modules/monitoring/module.nix @@ -32,6 +32,11 @@ in { port = 9002; listenAddress = "127.0.0.1"; }; + systemd = { + enable = true; + port = 9003; + listenAddress = "127.0.0.1"; + }; }; scrapeConfigs = [ { @@ -40,6 +45,12 @@ in { targets = [ "127.0.0.1:9002" ]; }]; } + { + job_name = "systemd-exporter"; + static_configs = [{ + targets = [ "127.0.0.1:9003" ]; + }]; + } ]; }; };