]> git.openstreetmap.org Git - chef.git/commitdiff
Increase timeout for postgres exporter
authorTom Hughes <tom@compton.nu>
Thu, 10 Nov 2022 10:48:06 +0000 (10:48 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 10 Nov 2022 10:48:06 +0000 (10:48 +0000)
cookbooks/postgresql/recipes/default.rb

index a17b38084d12227a533f8a07fda4ec28d32de27d..121b2e3c2066247cede60c3ba98fca1b6c0d6728 100644 (file)
@@ -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,