diff --git a/hosts/rico0/services/apps/prometheus.nix b/hosts/rico0/services/apps/prometheus.nix index 45769c7..9cfb449 100644 --- a/hosts/rico0/services/apps/prometheus.nix +++ b/hosts/rico0/services/apps/prometheus.nix @@ -12,6 +12,18 @@ _: { enable = true; listenAddress = "127.0.0.1"; scrapeConfigs = [ + { + job_name = "systemd"; + scheme = "https"; + metrics_path = "/systemd-metrics"; + static_configs = [ + { targets = [ "rico0.labs.adtya.xyz" ]; } + { targets = [ "rico1.labs.adtya.xyz" ]; } + { targets = [ "rico2.labs.adtya.xyz" ]; } + { targets = [ "wynne.labs.adtya.xyz" ]; } + { targets = [ "layne.labs.adtya.xyz" ]; } + ]; + } { job_name = "node"; scheme = "https";