X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/740484941b7380bfc82274c8c29f082b88906fc7..6ceead753013521ceffc22bea1cd1bcf5b5ec8d6:/cookbooks/postgresql/recipes/default.rb?ds=inline diff --git a/cookbooks/postgresql/recipes/default.rb b/cookbooks/postgresql/recipes/default.rb index b5e7be908..721cd6bab 100644 --- a/cookbooks/postgresql/recipes/default.rb +++ b/cookbooks/postgresql/recipes/default.rb @@ -17,7 +17,7 @@ # limitations under the License. # -include_recipe "apt" +include_recipe "apt::postgresql" include_recipe "munin" include_recipe "prometheus" @@ -174,6 +174,8 @@ end prometheus_exporter "postgres" do port 9187 + 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,