From efdf8a50e39abf6281979de287495ff57d12e435 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Fri, 4 Aug 2023 22:31:30 +0200 Subject: [PATCH] Lowered scraping-interval of prometheus to 1s --- prometheus.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/prometheus.yml b/prometheus.yml index dc9a755..3ce771c 100644 --- a/prometheus.yml +++ b/prometheus.yml @@ -1,14 +1,14 @@ global: # How frequently to scrape targets by default. # Default 15s - scrape_interval: 5s + scrape_interval: 1s # How frequently to evaluate rules. # Default 15s - evaluation_interval: 5s + evaluation_interval: 1s # How long until a scrape request times out. # Default to 10s. # Required because cp-demo is using cpu throttling, so let's leave enough time to fetch the metrics in particular for the first time as it needs to compile all rexps - scrape_timeout: 5s + scrape_timeout: 1s rule_files: - "alert.rules" -- 2.20.1