X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f7dd6716f0f63c8f74b2a14efe19672a0853c6c2..12c1bfbf869c93d0da2999b70f556b39ff71de17:/roles/prometheus.rb diff --git a/roles/prometheus.rb b/roles/prometheus.rb index e66da0fd9..0f83e8201 100644 --- a/roles/prometheus.rb +++ b/roles/prometheus.rb @@ -2,33 +2,15 @@ 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", - :effective_io_concurrency => "200", - :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", - :log_autovacuum_min_duration => "0", - :autovacuum_max_workers => "10", - :autovacuum_naptime => "10", - :max_locks_per_transaction => "512" - } + :apache => { + :evasive => { + :enable => false } } ) run_list( - "recipe[prometheus::server]" + "recipe[awscli]", + "recipe[prometheus::server]", + "recipe[prometheus::smokeping]" )