From 804eb749696314cd2378f0e5b3a068d6edb984f3 Mon Sep 17 00:00:00 2001 From: niten Date: Sun, 21 Jul 2024 16:21:00 -0700 Subject: [PATCH] Stick with just /metrics, it's cleaner --- lib/fudo/prometheus.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fudo/prometheus.nix b/lib/fudo/prometheus.nix index 81fd4b3..297fbe1 100644 --- a/lib/fudo/prometheus.nix +++ b/lib/fudo/prometheus.nix @@ -137,7 +137,7 @@ in { job_name = type; honor_labels = false; scheme = if cfg.private-network then "http" else "https"; - metrics_path = "/metrics/${type}"; + metrics_path = "/metrics"; static_configs = if (hasAttr type cfg.static-targets) then [{ targets = cfg.static-targets.${type}; }] else