From 5f0826d311682579b68f788713c043b9b0907056 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 26 Mar 2022 13:39:17 -0700 Subject: prometheus: stop scraping the NAS we're shutting it down! --- hosts/common/server/prometheus.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'hosts') diff --git a/hosts/common/server/prometheus.nix b/hosts/common/server/prometheus.nix index 401dd2b..6ae25cf 100644 --- a/hosts/common/server/prometheus.nix +++ b/hosts/common/server/prometheus.nix @@ -39,10 +39,8 @@ in { scrapeConfigs = [ { job_name = "node"; - static_configs = [{ - targets = - [ "192.168.6.1:9100" "192.168.6.10:9100" "192.168.6.20:9100" ]; - }]; + static_configs = + [{ targets = [ "192.168.6.1:9100" "192.168.6.20:9100" ]; }]; relabel_configs = relabelConfigs; } { -- cgit 1.4.1