replication-manager runs a continuous monitoring loop that tracks every server in every managed cluster. On each tick (default every 2 seconds, controlled by monitoring-ticker) it connects to each database and proxy server, reads state, and updates an in-memory topology model that drives the GUI, API, alerting, and failover decisions.
monitoring-schema-change)monitoring-processlist)monitoring-performance-schema)monitoring-query-rules)Every monitoring-ticker seconds:
for each cluster:
for each server (parallel goroutines):
connect → read status → update topology model
evaluate topology → compute failover eligibility
fire alerts if state changed (see Alerting chapter)
push metrics to Graphite
write API state
When monitoring-capture is enabled, replication-manager automatically saves a diagnostic snapshot (SHOW SLAVE STATUS, SHOW PROCESSLIST, SHOW GLOBAL STATUS, SHOW ENGINE INNODB STATUS) for a configurable number of ticks whenever a monitored error code appears. See Logs and Troubleshooting for details.
The web dashboard shows the live topology, server state, processlist, and alerts. The React dashboard is served at the replication-manager API address (default port 10001).
GET /api/clusters/{clusterName}/topology/servers
GET /api/clusters/{clusterName}/topology/master
GET /api/clusters/{clusterName}/topology/slaves
GET /api/clusters/{clusterName}/topology/alerts
GET /api/clusters/{clusterName}/topology/logs
GET /api/prometheus
Returns all collected metrics in Prometheus text exposition format. Point your Prometheus scraper at this endpoint.
replication-manager-cli status --cluster=my-cluster
replication-manager-cli status --cluster=my-cluster --with-errors
| Area | Where documented |
|---|---|
| Monitoring intervals, directories, capture | Daemon Monitoring |
| Graphite and Prometheus metrics | Metrics |
| Processlist capture | Processlist Monitoring |
| Performance Schema | Performance Schema |
| Multi-cluster topology | Clustering |
| Log files and debug tools | Logs and Troubleshooting |
| Alert channels and triggers | Alerting |