diff --git a/hosts/rico0/services/apps/prometheus.nix b/hosts/rico0/services/apps/prometheus.nix index 9cfb449..fcc5814 100644 --- a/hosts/rico0/services/apps/prometheus.nix +++ b/hosts/rico0/services/apps/prometheus.nix @@ -11,7 +11,16 @@ _: { prometheus = { enable = true; listenAddress = "127.0.0.1"; + port = 9090; scrapeConfigs = [ + { + job_name = "postgres"; + scheme = "https"; + metrics_path = "/postgres-metrics"; + static_configs = [ + { targets = [ "wynne.labs.adtya.xyz" ]; } + ]; + } { job_name = "systemd"; scheme = "https";