From: Kai Moritz Date: Fri, 4 Aug 2023 20:31:30 +0000 (+0200) Subject: Lowered scraping-interval of prometheus to 1s X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=efdf8a50e39abf6281979de287495ff57d12e435;p=demos%2Fkafka%2Fmonitoring Lowered scraping-interval of prometheus to 1s --- 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"