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-metricsflag and
PG_EXPORTER_DISABLE_SETTINGS_METRICSenvironment variable have been removed.
Use--no-collector.settingsinstead.
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_lsnpg_replication_slot_slot_confirmed_flush_lsn->pg_replication_slots_slot_confirmed_flush_lsnpg_replication_slot_slot_is_active->pg_replication_slots_slot_is_activepg_replication_slot_safe_wal_size_bytes->pg_replication_slots_safe_wal_size_bytespg_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.
- [CHANGE] Move
pg_settingsmetrics to the standalonesettingscollector by @ArthurSens in #1303 - [CHANGE] Move
stat_archivermetrics to a standalone collector by @ArthurSens in #1304 - [CHANGE] Move
stat_activitymetrics to a standalone collector by @ArthurSens in #1305 - [CHANGE] Move
stat_replicationmetrics to a standalone collector by @ArthurSens in #1306 - [CHANGE] Rename
replication_slottoreplication_slotsand move replication slot metrics to a standalone collector by @ArthurSens in #1307 - [ENHANCEMENT] Publish container images to GHCR and update PromCI release automation by @roidelapluie in #1322
- [BUGFIX] Fix duplicate
pg_stat_progress_vacuummetrics for cross-database vacuums by @steinbrueckri in #1262 - [BUGFIX] Fix
pg_settingscollection whenshort_descis NULL by @jun-gradial in #1327