Geo: Provide a simple way to track replication status based on the DR tables
Description
We need something to provide replication status / debug information rather then seeking at log files and try guessing what's going on.
So I propose we make one or a few rake tasks to retrieve and display information from the DR database to get detailed info (rather than the summarized dash in Admin > Geo Nodes).
We may use this to prototype the type of data is important, and think about how to add that to the UI in the future.
Proposal
DRAFT metrics/data:
- list recently replicated data
- crosslink recently replicated data with replication log (when available), to calculate "lag" per entry
- list next data to be replicated by each "type" (next X projects, etc) ...
Links / references
Documentation blurb
Overview
What is it?
We need to provide detailed information on what's going on with the replication
Why should someone use this feature?
Right now, replication is a black box
What is the underlying (business) problem?
We want Geo to be stable and reliable
How do you use this feature?
Sysadmins could inspect replication state to identify issues with infrastructure or configuration
Use cases
Sysadmins needs to have tooling to inspect what's going on with replication, to be able to take action either contacting us about a possible bug, or checking configuration, infrastructure etc.
Feature checklist
Make sure these are completed before closing the issue, with a link to the relevant commit.
-
Feature assurance -
Documentation -
Added to features.yml