From 6170779bf5f2ed11d2659e7142fa03e92301d0fa Mon Sep 17 00:00:00 2001 From: min Date: Sun, 15 Dec 2024 19:28:15 -0500 Subject: [PATCH] Prometheus: scrape interval 1m -> 20s --- nixos/hosts/silver/services/prometheus.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/hosts/silver/services/prometheus.nix b/nixos/hosts/silver/services/prometheus.nix index ceb0b76..1abde89 100644 --- a/nixos/hosts/silver/services/prometheus.nix +++ b/nixos/hosts/silver/services/prometheus.nix @@ -5,6 +5,10 @@ in { services.prometheus = { enable = true; + globalConfig = { + scrape_interval = "20s"; + }; + scrapeConfigs = [ { job_name = "silver";