Skip to content

Commit

Permalink
enable psql slow query log for queries >= 10s
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoblitt committed May 25, 2021
1 parent 6865fac commit 37c5d69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hieradata/org/lsst/role/foreman.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ postgresql::server::config_entries:
shared_buffers: "2GB"
work_mem: "8MB"
autovacuum_vacuum_cost_limit: 2000
log_min_duration_statement: 10000 # log slow queries >= 10s
profile::core::puppet_master::enable_puppetdb: true
puppet::agent: true
puppet::environment: "production" # always overridden via enc
Expand Down

0 comments on commit 37c5d69

Please sign in to comment.