The following metrics based on the
pg_stat_recovery_prefetch
view are available starting from Postgres Pro and
PostgreSQL 15:
postgresql.recovery.prefetch
postgresql.recovery.prefetch_wal_distance
postgresql.recovery.prefetch_block_distance
postgresql.recovery.prefetch_io_depth
Metrics based on the
pg_stat_database_conflicts
view:
postgresql.recovery.active
postgresql.recovery.conflicts