8.16. WAL Usage Metrics #

Metrics based on the pg_stat_wal view:

  • postgresql.wal.buffers_full

  • postgresql.wal.bytes

  • postgresql.wal.fpi

  • postgresql.wal.records

  • postgresql.wal.stats_reset_unixtime

  • postgresql.wal.sync_time_milliseconds

  • postgresql.wal.sync

  • postgresql.wal.write_time_milliseconds

  • postgresql.wal.write

  • postgresql.wal.directory_size_bytes

  • postgresql.wal.directory_files_count

Starting from Postgres Pro and PostgreSQL 17, the metrics listed below are deprecated for the dropped columns. Use the io plugin instead.

  • postgresql.wal.write

  • postgresql.wal.sync

  • postgresql.wal.write_time_milliseconds

  • postgresql.wal.sync_time_milliseconds