From: Tom Hughes Date: Fri, 11 Nov 2022 13:49:33 +0000 (+0000) Subject: Increase timeout for postgres exporter X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/47b636ac08ba7e76eecfbc77a399582d0f89dcb6?ds=sidebyside;hp=bfcaf474a4f8f88b281a9801897dc70e18c03b02 Increase timeout for postgres exporter --- 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,