8.12. Replication Slot Metrics #
Metrics based on the pg_replication_slots view:
postgresql.replication_slots.infopostgresql.replication_slots.wal_retain_bytespostgresql.replication_slots.safe_wal_size_bytespostgresql.replication_slots.wal_retain_bytespostgresql.replication_slots.transactions_retain_age_unixtime
Starting from Postgres Pro and PostgreSQL 17, the following additional metrics are available:
postgresql.replication_slots.inactive_since_unixtimepostgresql.replication_slots.invalidation_reason(with theslot_invalidation_reasonattribute)