8.20. Recovery Metrics #
The following metrics based on the pg_stat_recovery_prefetch view are available starting from Postgres Pro and PostgreSQL 15:
postgresql.recovery.prefetchpostgresql.recovery.prefetch_wal_distancepostgresql.recovery.prefetch_block_distancepostgresql.recovery.prefetch_io_depth
Metrics based on the pg_stat_database_conflicts view:
postgresql.recovery.activepostgresql.recovery.conflicts