4.22. Метрики подписок #
Метрики на основе представления pg_stat_subscription, собираемые плагином subscription:
postgresql.subscription.info{database, name, worker_type, worker_pid, worker_leader_pid, relid}postgresql.subscription.lag_bytes{database, name}postgresql.subscription.latest_end_unixtime{database, name}postgresql.subscription.last_msg_send_unixtime{database, name}postgresql.subscription.last_msg_receipt_unixtime{database, name}доступные в Postgres Pro и PostgreSQL версии 15 и выше:
postgresql.subscription.apply_error_count{database, name}postgresql.subscription.sync_error_count{database, name}
доступные в Postgres Pro и PostgreSQL версии 18 и выше:
postgresql.subscription.conflicts{database, name, conflict}