From f08ecb186ba2c0763ad2b58c0c9b95424a54cb3b Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 10 Nov 2022 10:48:06 +0000 Subject: [PATCH] Increase timeout for postgres exporter --- cookbooks/postgresql/recipes/default.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cookbooks/postgresql/recipes/default.rb b/cookbooks/postgresql/recipes/default.rb index a17b38084..121b2e3c2 100644 --- a/cookbooks/postgresql/recipes/default.rb +++ b/cookbooks/postgresql/recipes/default.rb @@ -174,6 +174,8 @@ end prometheus_exporter "postgres" do port 9187 + scrape_interval "30s" + scrape_timeout "30s" user "postgres" options "--extend.query-path=/etc/prometheus/exporters/postgres_queries.yml" environment "DATA_SOURCE_URI" => uris.sort.uniq.first, -- 2.45.1