cockroachdb / cockroachdb/cockroach
PCR: PCR replication lag to DB Console Jobs page
Open
A-disaster-recovery
C-enhancement
P-2
T-disaster-recovery
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
We should add observability for the replication lag in PCR (current time - replicated time, where the src and dst cluster are exactly the same). Since replication lag is essentially the RPO for customers, we should surface this metric.
P0: calculate replication lag and show in the replication status table (system tenant calls `SHOW VIRTUAL CLUSTER .... WITH REPLICATION STATUS`)
P1: include graph of replication lag in the DB console so users can see replication lag over time
Jira issue: CRDB-36680
Contributor guide
Assessment
This issue has not been assessed yet.