]> git.openstreetmap.org Git - chef.git/commitdiff
Increase timeout for postgres exporter
authorTom Hughes <tom@compton.nu>
Fri, 11 Nov 2022 13:49:33 +0000 (13:49 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 11 Nov 2022 13:49:41 +0000 (13:49 +0000)
cookbooks/postgresql/recipes/default.rb

index 121b2e3c2066247cede60c3ba98fca1b6c0d6728..721cd6babd5cf3081909d7ebb595265d09214ee0 100644 (file)
@@ -174,8 +174,8 @@ end
 
 prometheus_exporter "postgres" do
   port 9187
 
 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,
   user "postgres"
   options "--extend.query-path=/etc/prometheus/exporters/postgres_queries.yml"
   environment "DATA_SOURCE_URI" => uris.sort.uniq.first,