Releases: prometheus-community/postgres_exporter
Releases ยท prometheus-community/postgres_exporter
0.19.1 / 2026-02-25
- [CHANGE] Filter and warn about duplicates in pg_stat_statements (#998) by @Nudin in #1259
- [ENHANCEMENT] perf/reliability: Optimize pg_stat_statements queries that uses too many temp files by @eugercek in #1267
- [BUGFIX] fix: ignore setting
google_dataplex.max_messagesby @cristiangreco in #1261 - [BUGFIX] wal: Fix collector NULL SUM(size) by @dannotripp in #1265
0.19.0 / 2026-02-03
- [CHANGE] Reorganize code to remove the main package by @cristiangreco in #1238
- [FEATURE] Allow setting
limitinpg_stat_statementscollector by @cristiangreco in #1205 - [FEATURE] Allow excluding databases or users names in
stat_statementscollector by @cristiangreco in #1232 - [ENHANCEMENT] Enable pprof endpoints for profiling by @SuperQ in #1212
- [ENHANCEMENT] Document
stat_checkpointercollector option by @FabioRueda in #1226 - [ENHANCEMENT] Ensure collection of stats succeed in a maximum duration to avoid exhausting PG connections by @pierresouchay in #1229
- [BUGFIX] Fix NULL handling on
long_running_transactionscollector by @sysadmind in #1230 - [BUGFIX] Do not crash on bad
pg_settingsvalue by @sysadmind in #1252
0.18.1 / 2025-09-29
- [BUGFIX] Fix swapped
flushedLsnandreceiveStartTliforwal_receivercollector by @spantaleev in #1198 - [BUGFIX] Fix superfluous semicolon breaking query in
process_idleby @sysadmind in #1197 and #1201
0.18.0 / 2025-09-25
- [FEATURE] Add
stat_progress_vacuumcollector by @ianbibby in #1141 - [FEATURE] Add
buffercache_summarycollector by @sfc-gh-pnuttall in #1165 - [FEATURE]
stat_statements: export query itself together withqueryIdby @Delorien84 in #940 - [ENHANCEMENT] Improve error handling for
Server.Scrapeby @BoweFlex in #1158 - [ENHANCEMENT]
stat_user_tables: record table-only size bytes in addition to the total size bytes by @Sticksman Sticksman in #1149 - [ENHANCEMENT] (chore) Fix a typo and use
slices.Containsby @cristiangreco in #1176 - [ENHANCEMENT] Update mixin to latest changes from
grafana/postgres_exporterby @cristiangreco, @gaantunes, @v-zhuravlev and @mshahzeb in #1179 - [ENHANCEMENT] Exclude the metrics fetching session's data from pg_stat_activity by @kmoppel in #1185
- [BUGFIX] Ensure database connections are always closed by @cristiangreco and @dehaansa in #1177
- [BUGFIX] Fix superfluous semicolon breaking query in
process_idleby @sysadmind in #1197
0.17.1 / 2025-02-26
- [BUGFIX] Fix: Handle incoming labels with invalid UTF-8 #1131
0.17.0 / 2025-02-16
What's Changed
- [ENHANCEMENT] Add Postgres 17 for CI test by @khiemdoan in #1105
- [ENHANCEMENT] Add wait/backend to pg_stat_activity by @fgalind1 in #1106
- [ENHANCEMENT] Export last replay age in replication collector by @bitfehler in #1085
- [BUGFIX] Fix pg_long_running_transactions time by @jyothikirant-sayukth in #1092
- [BUGFIX] Fix to replace dashes with underscore in the metric names by @aagarwalla-fx in #1103
- [BUGFIX] Checkpoint related columns in PG 17 have been moved from pg_stat_bgwriter to pg_stat_checkpointer by @n-rodriguez in #1072
- [BUGFIX] Fix pg_stat_statements for PG17 by @NevermindZ4 in #1114
- [BUGFIX] Handle pg_replication_slots on pg<13 by @michael-todorovic in #1098
- [BUGFIX] Fix missing dsn sanitization for logging by @sysadmind in #1104
New Contributors
- @jyothikirant-sayukth made their first contribution in #1092
- @aagarwalla-fx made their first contribution in #1103
- @NevermindZ4 made their first contribution in #1114
- @michael-todorovic made their first contribution in #1098
- @fgalind1 made their first contribution in #1106
Full Changelog: v0.16.0...v0.17.0
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
statelabel 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