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_distance

  • postgresql.recovery.prefetch_block_distance

  • postgresql.recovery.prefetch_io_depth

Metrics based on the pg_stat_database_conflicts view, collected by the recovery plugin:

  • postgresql.recovery.active

  • postgresql.recovery.conflicts{database, conflict}