- Upgraded dependencies
pyyaml
to 5.4.1 also changed fixed version to minimum version constraint.
- Upgraded dependencies
prometheus_client
to 0.8.0psycopg2
to 2.8.5python-json-logger
to 0.1.11
- Upgraded PyYAML to 5.3.1 to fix CVE-2017-18342 among others
- [FEATURE] Reload configuration file on SIGHUP. #21 (thanks to Vineet Joshi)
- [FEATURE] Added new metrics taken from pgbouncer configuration #23 (thanks to José Gabriel Duarte)
pgbouncer_databases_database_max_connections
: Maximum number of allowed connections per-database (labels:database
,backend_database
)pgbouncer_config_max_client_conn
: Configuration of maximum number of allowed client connectionspgbouncer_config_max_user_connections
: Configuration of maximum number of server connections per user
- Changed author of the package
- #17 Add
maxwait_us
to the compute ofclient_maxwait_seconds
metric to have a higher precission
- [BUGFIX] Correctly mask the DSN in logs when the password is empty
- [BREAKING CHANGE] Renamed
pgbouncer_stats_queries_total
topgbouncer_stats_requests_total
on pgbouncer <= 1.7 - [FEATURE] Added pgbouncer >= 1.8 support #8 (thanks to bitglue), including the following new metrics:
pgbouncer_stats_transactions_total
pgbouncer_stats_queries_total
pgbouncer_stats_transactions_duration_microseconds
pgbouncer_stats_waiting_duration_microseconds
- [BUGFIX] Fixed
PGBOUNCER_EXPORTER_PORT
environment variable data type #7
- [FEATURE] Added
pgbouncer_databases_database_pool_size
,pgbouncer_databases_database_reserve_pool_size
andpgbouncer_databases_database_current_connections
metrics #3 - [BUGFIX] Fixed
PyYAML
dependency declaration #4 - [BUGFIX] Ensure the exporter immediately exit on SIGTERM
- #1 - Log connection or scrape failures as errors, not debug
- Added config file validation
- Added
--log-file
cli argument support and handle ofkill -HUP
to re-open the log file description (useful in combination with logrotate)
- Ensure the
prometheus-pgbouncer-exporter
package is installed on Python >= 3
- Fixed run on Python < 3.6 and >= 3.0
- Initial version (fully working on Python 3.6)