X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/b7d4583c770392b26c7dd20346b35db2d02f2440..39e9c0f23c2c459285df473de8011221f429dbad:/cookbooks/postgresql/recipes/default.rb diff --git a/cookbooks/postgresql/recipes/default.rb b/cookbooks/postgresql/recipes/default.rb index 721cd6bab..a57e1b348 100644 --- a/cookbooks/postgresql/recipes/default.rb +++ b/cookbooks/postgresql/recipes/default.rb @@ -181,5 +181,6 @@ prometheus_exporter "postgres" do environment "DATA_SOURCE_URI" => uris.sort.uniq.first, "PG_EXPORTER_AUTO_DISCOVER_DATABASES" => "true", "PG_EXPORTER_EXCLUDE_DATABASES" => "postgres,template0,template1" + restrict_address_families "AF_UNIX" subscribes :restart, "template[/etc/prometheus/exporters/postgres_queries.yml]" end