tursodatabase/libsql

Replication lag metrics

Open

#829 opened on Dec 23, 2023

View on GitHub
 (0 comments) (0 reactions) (0 assignees)C (490 forks)batch import
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (16,744 stars)
PR merge metrics
 (Avg merge 23h 19m) (1 merged PR in 30d)

Description

Let's add metrics to measure replication lag so that you can observe it. For example, let's assume that the clocks are synchronized and take a timestamp when we stream out a page frame and compare that to the timestamp when we inject the frame to the replica WAL.

Contributor guide