diff --git a/hosts/rico0/services/apps/prometheus.nix b/hosts/rico0/services/apps/prometheus.nix index 69ab5b8..3e63ca7 100644 --- a/hosts/rico0/services/apps/prometheus.nix +++ b/hosts/rico0/services/apps/prometheus.nix @@ -26,6 +26,17 @@ in } ]; scrapeConfigs = [ + { + job_name = "caddy"; + metrics_path = "/caddy-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 = "postgres"; scheme = "https";