From: Tom Hughes Date: Thu, 10 Nov 2022 10:48:06 +0000 (+0000) Subject: Increase timeout for postgres exporter X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/f08ecb186ba2c0763ad2b58c0c9b95424a54cb3b Increase timeout for postgres exporter --- 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,