From 1d0f2f9ccb27e6befcab735e7f4afa5cbe881cde Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Sun, 3 Nov 2024 19:23:16 +0800 Subject: [PATCH] tyo0/prometheus: use https scraping --- hosts/aws/tyo0/services/prometheus.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/aws/tyo0/services/prometheus.nix b/hosts/aws/tyo0/services/prometheus.nix index 714ea4b..8662169 100644 --- a/hosts/aws/tyo0/services/prometheus.nix +++ b/hosts/aws/tyo0/services/prometheus.nix @@ -31,6 +31,7 @@ in scrapeConfigs = [ { job_name = "node_exporter"; + scheme = "https"; metrics_path = "/metrics"; basic_auth = { username = "prometheus"; @@ -40,6 +41,7 @@ in } { job_name = "caddy"; + scheme = "https"; metrics_path = "/caddy"; basic_auth = { username = "prometheus";