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