Top
Enterprise Postgres 18 for Kubernetes User's Guide

5.7.5 Monitoring Multi-master Replication

5.7.5.1 Metrics to Collect

The following metrics are collected in multi-master replication.

Metrics for created replication

Metrics name

Details

get_last_applied_xact_info

Retrieves the last applied transaction information for the applicable worker

pgactive_is_apply_paused_status

Checks whether replication application is paused

pgactive_is_apply_paused_replications

Retrieves the number of replication instances where replication application is paused

pgactive_pending_wal_decoding

Estimated size of WAL to be applied to the receiving node

pgactive_pending_wal_to_apply

Estimated size of WAL to be decoded on the sending node

5.7.5.2 Method of Collecting Metrics

5.7.5.2.1 Monitoring via FEPExporter

When bidirectional logical replication is enabled and the monitoring feature is activated by setting spec.fep.monitoring.enable to true in the FEPCluster custom resource, metric collection for bidirectional logical replication is enabled.