From: Paul Norman Date: Thu, 14 Sep 2023 08:40:55 +0000 (-0700) Subject: Remove unused PostgreSQL config from Prometheus X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/94d26efb2d2fc50d3b30b5b4ec9f5546d52d748b Remove unused PostgreSQL config from Prometheus --- diff --git a/roles/prometheus.rb b/roles/prometheus.rb index 8dfe36a87..1b97fdb72 100644 --- a/roles/prometheus.rb +++ b/roles/prometheus.rb @@ -1,33 +1,6 @@ name "prometheus" description "Role applied to all prometheus servers" -default_attributes( - :postgresql => { - :settings => { - :defaults => { - :max_connections => "500", - :shared_buffers => "48GB", - :work_mem => "8MB", - :maintenance_work_mem => "2GB", - :max_worker_processes => "67", - :max_parallel_workers_per_gather => "28", - :max_parallel_workers => "56", - :wal_buffers => "16MB", - :max_wal_size => "32GB", - :min_wal_size => "4GB", - :checkpoint_completion_target => "0.9", - :random_page_cost => "1.1", - :effective_cache_size => "144GB", - :default_statistics_target => "500", - :autovacuum_max_workers => "56", - :autovacuum_naptime => "1", - :autovacuum_multixact_freeze_max_age => "200000000", - :max_locks_per_transaction => "512" - } - } - } -) - run_list( "recipe[prometheus::server]" )