2025-01-08 07:39:20 +00:00
|
|
|
# Min PostgreSQL connection pool size (per database)
|
|
|
|
|
#min_pool_size: 0,
|
2024-10-24 16:23:19 +00:00
|
|
|
|
2025-01-08 07:39:20 +00:00
|
|
|
# Max PostgreSQL connection pool size (per database)
|
|
|
|
|
#max_pool_size: 4,
|
|
|
|
|
|
|
|
|
|
# How long a connection can sit idle in the pool before it's removed (seconds)
|
|
|
|
|
#max_idle_time: 30,
|
2024-10-24 16:23:19 +00:00
|
|
|
|
|
|
|
|
# Log level for stderr logging (or 'off')
|
2025-01-08 07:39:20 +00:00
|
|
|
#log_level: 'debug',
|
|
|
|
|
|
|
|
|
|
# Database user to connect as
|
|
|
|
|
#dbuser: 'postgres',
|
2024-10-24 16:23:19 +00:00
|
|
|
|
2025-01-08 07:39:20 +00:00
|
|
|
# Database host
|
|
|
|
|
#dbhost: '/var/run/postgresql',
|
|
|
|
|
|
|
|
|
|
# Database port
|
|
|
|
|
#dbport: 5432,
|
2024-10-24 16:23:19 +00:00
|
|
|
|
|
|
|
|
# Default database to connect to when none is specified for a metric
|
2025-01-08 07:39:20 +00:00
|
|
|
#dbname: 'postgres',
|
|
|
|
|
|
|
|
|
|
# Timeout for getting a connection slot from a pool
|
|
|
|
|
#pool_slot_timeout: 5,
|
|
|
|
|
|
|
|
|
|
# PostgreSQL connection timeout (seconds)
|
|
|
|
|
# Note: It can actually be double this because of retries
|
|
|
|
|
#connect_timeout: 5,
|
|
|
|
|
|
|
|
|
|
# Time to wait before trying to reconnect again after a reconnect failure (seconds)
|
|
|
|
|
#reconnect_cooldown: 30,
|
|
|
|
|
|
|
|
|
|
# How often to check the version of PostgreSQL (seconds)
|
|
|
|
|
#version_check_period: 300,
|
2024-10-24 16:23:19 +00:00
|
|
|
|
|
|
|
|
# Metrics
|
|
|
|
|
#metrics: {}
|
|
|
|
|
|
|
|
|
|
include:
|
|
|
|
|
- pgmon-metrics.yml
|