4.20. Recovery Metrics #
Metrics based on the pg_stat_recovery_prefetch view and collected by the recovery plugin, available from Postgres Pro and PostgreSQL 15:
postgresql.recovery.prefetch{type}postgresql.recovery.prefetch_wal_distancepostgresql.recovery.prefetch_block_distancepostgresql.recovery.prefetch_io_depth
Metrics based on the pg_stat_database_conflicts view, collected by the recovery plugin:
postgresql.recovery.activepostgresql.recovery.conflicts{database, conflict}