From 4dce88e9975b2cb83bb329dda7c1115cc5b0a509 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Fri, 27 Dec 2024 17:16:24 +0100 Subject: [PATCH] feat(users/flokli/nixos-tvix-cache): increase scraping interval MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This provides more resolution in the dashboards. Change-Id: I06e7260250e58fe62bbda41b67d84e0c5cacfbd2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12927 Reviewed-by: raitobezarius Tested-by: BuildkiteCI Reviewed-by: Jörg Thalheim Autosubmit: flokli --- users/flokli/nixos/nixos-tvix-cache/monitoring.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/users/flokli/nixos/nixos-tvix-cache/monitoring.nix b/users/flokli/nixos/nixos-tvix-cache/monitoring.nix index 210e2fcef..4e197b333 100644 --- a/users/flokli/nixos/nixos-tvix-cache/monitoring.nix +++ b/users/flokli/nixos/nixos-tvix-cache/monitoring.nix @@ -80,6 +80,7 @@ in prometheus.scrape "main" { targets = prometheus.exporter.unix.main.targets forward_to = [otelcol.receiver.prometheus.default.receiver] + scrape_interval = "15s" } // Convert Prometheus metrics to OTLP and export them. @@ -167,7 +168,7 @@ in uid = "mimir"; url = "http://localhost:9009/prometheus"; jsonData = { - timeInterval = "60s"; + timeInterval = "15s"; }; } ];