From 47b636ac08ba7e76eecfbc77a399582d0f89dcb6 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 11 Nov 2022 13:49:33 +0000 Subject: [PATCH 1/1] Increase timeout for postgres exporter --- cookbooks/postgresql/recipes/default.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbooks/postgresql/recipes/default.rb b/cookbooks/postgresql/recipes/default.rb index 121b2e3c2..721cd6bab 100644 --- a/cookbooks/postgresql/recipes/default.rb +++ b/cookbooks/postgresql/recipes/default.rb @@ -174,8 +174,8 @@ end prometheus_exporter "postgres" do port 9187 - scrape_interval "30s" - scrape_timeout "30s" + scrape_interval "1m" + scrape_timeout "1m" user "postgres" options "--extend.query-path=/etc/prometheus/exporters/postgres_queries.yml" environment "DATA_SOURCE_URI" => uris.sort.uniq.first, -- 2.39.5