yugabyte-db
yugabyte-db copied to clipboard
[DocDB] [XCluster] Add prometheus metric to indicate the overall health of replication
Jira Link: DB-3171
Description
Expose a prometheus metric to indicate the overall health of replication.
If the metric indicates that replication is unhealthy, users will be able to use the get_replication_status API from https://github.com/yugabyte/yugabyte-db/issues/13479 to determine the specific cause for replication issues