X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f8f64cbeff3122d4acc912647d26997f70c1f0fc..066c0bfda604f2a662fa1d4b1b5942fc598a05a4:/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