cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
29.84k stars 3.77k forks source link

PCR: PCR replication lag to DB Console Jobs page #120416

Open alicia-l2 opened 5 months ago

alicia-l2 commented 5 months ago

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

blathers-crl[bot] commented 5 months ago

cc @cockroachdb/disaster-recovery

blathers-crl[bot] commented 5 months ago

cc @cockroachdb/disaster-recovery