4.11. Метрики репликации #

Общие метрики, собираемые плагином replication:

  • postgresql.replication.status_info{status}

Метрики ведущего узла на основе представления pg_stat_replication, собираемые плагином replication:

  • postgresql.replication.walsender_all_lag_bytes{client_address}

  • postgresql.replication.walsender_all_lag_milliseconds{client_address}

  • postgresql.replication.walsender_flush_lag_bytes{client_address}

  • postgresql.replication.walsender_flush_lag_milliseconds{client_address}

  • postgresql.replication.walsender_info{client_address, user, application, state}

  • postgresql.replication.walsender_pending_lag_bytes{client_address}

  • postgresql.replication.walsender_replay_lag_bytes{client_address}

  • postgresql.replication.walsender_replay_lag_milliseconds{client_address}

  • postgresql.replication.walsender_write_lag_bytes{client_address}

  • postgresql.replication.walsender_write_lag_milliseconds{client_address}

Метрики ведомого узла на основе представления pg_stat_wal_receiver, собираемые плагином replication:

  • postgresql.replication.walreceiver_flush_lag{sender_address}

  • postgresql.replication.walreceiver_info{pid, status, slot_name, conninfo}

  • postgresql.replication.walreceiver_ping_milliseconds{sender_address}

  • postgresql.replication.walreceiver_received_bytes{sender_address}

FAQ