From 1a0915b5c80587d16f314e0d8568fa67857cbd1e Mon Sep 17 00:00:00 2001 From: lalanza808 Date: Wed, 20 Mar 2024 14:10:46 -0700 Subject: [PATCH] increase timeout for large metrics pulls --- files/prometheus/config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/prometheus/config.yaml b/files/prometheus/config.yaml index b970471..2caca11 100644 --- a/files/prometheus/config.yaml +++ b/files/prometheus/config.yaml @@ -3,9 +3,11 @@ global: scrape_configs: - job_name: "node-exporter" scrape_interval: 20s + scrape_timeout: 20s static_configs: - targets: ["exporter:9000"] - job_name: "nodemapper" scrape_interval: 2m + scrape_timeout: 1m static_configs: - targets: ["nodemapper:5000"]