Update quay.io/prometheuscommunity/postgres-exporter Docker tag to v0.20.0

Share
Update quay.io/prometheuscommunity/postgres-exporter Docker tag to v0.20.0
Photo by Michał Jakubowski / Unsplash

Automtated minor upgrade of PostgreSQL exporter Docker container by means of Watchtower with dependency update facilitated by Mend's Renovate Bot.

This MR contains the following updates:

Package Update Change
quay.io/prometheuscommunity/postgres-exporter minor v0.19.1v0.20.0

Release Notes

prometheus-community/postgres_exporter (quay.io/prometheuscommunity/postgres-exporter)

v0.20.0: 0.20.0 / 2026-06-29

Compare Source

BREAKING CHANGES:

Collector flag changes

The replication_slot collector has been renamed to replication_slots.
Users explicitly enabling or disabling this collector must update their flags:

  • --collector.replication_slot -> --collector.replication_slots
  • --no-collector.replication_slot -> --no-collector.replication_slots
    The --disable-settings-metrics flag and
    PG_EXPORTER_DISABLE_SETTINGS_METRICS environment variable have been removed.
    Use --no-collector.settings instead.
Metric name changes

The metrics previously exposed by the replication_slot collector have been
renamed to use the pg_replication_slots_ prefix. Update alerts, recording
rules, and dashboards that reference these metrics:

  • pg_replication_slot_slot_current_wal_lsn -> pg_replication_slots_slot_current_wal_lsn
  • pg_replication_slot_slot_confirmed_flush_lsn -> pg_replication_slots_slot_confirmed_flush_lsn
  • pg_replication_slot_slot_is_active -> pg_replication_slots_slot_is_active
  • pg_replication_slot_safe_wal_size_bytes -> pg_replication_slots_safe_wal_size_bytes
  • pg_replication_slot_wal_status -> pg_replication_slots_wal_status
Standalone collector behavior

The settings, stat_activity, stat_archiver, stat_replication, and
replication_slots metrics now come from standalone collectors instead of the
legacy default metric map.
These metrics no longer honor --metric-prefix, no longer include deprecated
constantLabels, and are no longer disabled by --disable-default-metrics.
To stop collecting them, disable the corresponding collector explicitly with
its --no-collector.* flag.

Read more

Me on Mastodon - This link is here for verification purposes.