Skip to content

Commit

Permalink
Merge remote-tracking branch 'github/pull/617'
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Sep 14, 2023
2 parents 200d328 + 94d26ef commit 80901e8
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions roles/prometheus.rb
Original file line number Diff line number Diff line change
@@ -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]"
)

0 comments on commit 80901e8

Please sign in to comment.