Releases: prometheus-community/postgres_exporter
0.16.0 / 2024-11-10
BREAKING CHANGES:
The logging system has been replaced with log/slog from the stdlib. This change is being made across the prometheus ecosystem. The logging output has changed, but the messages and levels remain the same. The ts
label for the timestamp has bewen replaced with time
, the accuracy is less, and the timezone is not forced to UTC. The caller
field has been replaced by the source
field, which now includes the full path to the source file. The level
field now exposes the log level in capital letters.
- [CHANGE] Replace logging system #1073
- [ENHANCEMENT] Add save_wal_size and wal_status to replication_slot collector #1027
- [ENHANCEMENT] Add roles collector and connection limit metrics to database collector #997
- [ENHANCEMENT] Excluded databases log messgae is now info level #1003
- [ENHANCEMENT] Add active_time to stat_database collector #961
- [ENHANCEMENT] Add slot_type label to replication_slot collector #960
- [BUGFIX] Fix walreceiver collectore when no repmgr #1086
- [BUGFIX] Remove logging errors on replicas #1048
- [BUGFIX] Fix active_time query on postgres>=14 #1045
0.15.0 / 2023-10-27
0.14.0 / 2023-09-11
- [CHANGE] Add
state
label to pg_process_idle_seconds #862 - [CHANGE] Change database connections to one per scrape #882 #902
- [ENHANCEMENT] Add wal collector #858
- [ENHANCEMENT] Add database_wraparound collector #834
- [ENHANCEMENT] Add stat_activity_autovacuum collector #840
- [ENHANCEMENT] Add stat_wal_receiver collector #844
- [ENHANCEMENT] Add xlog_location collector #849
- [ENHANCEMENT] Add statio_user_indexes collector #845
- [ENHANCEMENT] Add long_running_transactions collector #836
- [ENHANCEMENT] Add pg_stat_user_tables_size_bytes metric #904
- [BUGFIX] Fix tests on 32-bit systems #857
- [BUGFIX] Fix pg_stat_statements metrics on Postgres 13+ #874 #876
- [BUGFIX] Fix pg_stat_database metrics for NULL stats_reset #877
- [BUGFIX] Fix pg_replication_lag_seconds on Postgres 10+ when master is idle #895
0.13.2 / 2023-07-21
0.13.1 / 2023-06-27
- [BUGFIX] Make collectors not fail on null values #823
0.13.0 / 2023-06-21
BREAKING CHANGES:
Please note, the following features are deprecated and may be removed in a future release:
auto-discover-databases
extend.query-path
constantLabels
exclude-databases
include-databases
This exporter is meant to monitor PostgresSQL servers, not the user data/databases. If
you need a generic SQL report exporter https://github.com/burningalchemist/sql_exporter
is recommended.
- [CHANGE] Adjust log level for collector startup #784
- [CHANGE] Move queries from queries.yaml to collectors #801
- [CHANGE] Deprecate extend queries feature #811
- [CHANGE] Deprecate additional database features #815
- [CHANGE] Convert pg_stat_database to new collector #685
- [ENHANCEMENT] Supports alternate postgres:// prefix in URLs #787
- [BUGFIX] Fix pg_setting different help values #771
- [BUGFIX] Fix column type for pg_replication_slots #777
- [BUGFIX] Fix pg_stat_database collector #809
0.12.1 / 2023-06-12
- [BUGFIX] Fix column type for pg_replication_slots #777
0.12.0 / 2023-03-21
BREAKING CHANGES:
This release changes support for multiple postgres servers to use the
multi-target exporter pattern. This makes it much easier to monitor multiple
PostgreSQL servers from a single exporter by passing the target via URL
params. See the Multi-Target Support section of the README.
- [CHANGE] Add multi-target support #618
- [CHANGE] Add usename and application_name to pg_stat_activity metrics #673
- [FEATURE] Add replication metrics from pg_replication_slots #747
- [BUGFIX] Add dsn type for handling datasources #678
- [BUGFIX] Add 64kB unit for postgres 15 #740
- [BUGFIX] Add 4kB unit for postgres compiled with small blocks #699
0.12.0-rc.0 / 2022-08-26
BREAKING CHANGES:
This release changes support for multiple postgres servers to use the
multi-target exporter pattern. This makes it much easier to monitor multiple
PostgreSQL servers from a single exporter by passing the target via URL
params. See the Multi-Target Support section of the README.