Monitor your replication setup to keep it performing as expected, avoid running out of disk space, and catch other faults before they halt operations. Automated monitoring allows the administrator to get alerted and take proactive action when issues occur, for example when replication slots start falling badly behind.
EDB Postgres Distributed supports several ways to monitor a cluster:
PGD Monitor tracks cluster health, replication lag, commit scopes, conflicts, and query activity from a browser, with a REST API and a Prometheus endpoint for feeding an existing observability stack.
Monitoring through pgd-cli checks cluster health, topology, replication, and Raft consensus from the command line, without writing SQL.
Monitoring through SQL queries the BDR extension's information views and functions directly, for custom checks or your own dashboards.
Monitoring through PEM monitors PGD nodes alongside the rest of your Postgres fleet, through Postgres Enterprise Manager (PEM), which supports PGD starting with version 8.1.
Cluster monitoring with Hybrid Manager tracks cluster and node health for clusters deployed through Hybrid Manager, instead of PEM. Hybrid Manager refers to PGD clusters as Distributed High Availability (DHA) clusters.