Repository navigation
feat(metrics): source server WAL end and in-process source lag - #252
Open
iskakaushik wants to merge 1 commit into
Open
iskakaushik wants to merge 1 commit into
iskakaushik wants to merge 1 commit into
Conversation
8 tasks
harshil-goel
force-pushed
the
kaushik/source-lag-metrics
branch
from
November 10, 2026 18:13
d4c6394 to
9ca4404
Compare
harshil-goel
marked this pull request as ready for review
November 10, 2026 18:15
harshil-goel
force-pushed
the
kaushik/source-lag-metrics
branch
from
November 10, 2026 19:30
9ca4404 to
cfec66c
Compare
harshil-goel
changed the base branch from
main
to
kaushik/shadow-stream-metrics
November 10, 2026 19:38
harshil-goel
force-pushed
the
kaushik/source-lag-metrics
branch
2 times, most recently
from
November 10, 2026 21:31
6e58712 to
d9e8988
Compare
harshil-goel
force-pushed
the
kaushik/source-lag-metrics
branch
from
November 11, 2026 07:26
d9e8988 to
0ef7c2f
Compare
harshil-goel
force-pushed
the
kaushik/source-lag-metrics
branch
from
November 11, 2026 07:48
0ef7c2f to
01e172b
Compare
harshil-goel
force-pushed
the
kaushik/source-lag-metrics
branch
from
November 11, 2026 08:58
01e172b to
6d0b6ca
Compare
harshil-goel
force-pushed
the
kaushik/source-lag-metrics
branch
from
November 11, 2026 09:32
6d0b6ca to
928f98c
Compare
harshil-goel
force-pushed
the
kaushik/source-lag-metrics
branch
from
November 11, 2026 09:45
928f98c to
911e04b
Compare
harshil-goel
force-pushed
the
kaushik/source-lag-metrics
branch
from
November 11, 2026 11:38
911e04b to
d670aeb
Compare
harshil-goel
force-pushed
the
kaushik/source-lag-metrics
branch
from
November 17, 2026 10:08
d670aeb to
28dcd5f
Compare
harshil-goel
force-pushed
the
kaushik/source-lag-metrics
branch
from
November 18, 2026 05:11
28dcd5f to
c19797d
Compare
harshil-goel
force-pushed
the
kaushik/source-lag-metrics
branch
from
November 18, 2026 08:12
c19797d to
6ae75f3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Every WAL position in one family, published in one status tick, so any two subtract without scrape skew.
walshadow_position_lsn{at}source_headserver_wal_endheard on the source socket. Present only while the pump is streaming: absent during archive catch-up, while reconnecting, and for the first tick after a reconnect or endpoint swapreceivedfilterdecoder_commitackshadow_replayfloorpause_consumed,pause_receivedpromotion_target_replay,promotion_target_receivetimeline_switchA member is absent while its position is unknown.
Breaking
Removed, now members of the family above:
walshadow_source_received_lsn,walshadow_filter_lsn,walshadow_decoder_commit_lsn,walshadow_emitter_ack_lsn,walshadow_shadow_replay_lsn,walshadow_floor_lsn,walshadow_timeline_switch_lsn,walshadow_pause_consumed_lsn,walshadow_pause_received_lsn.Subtraction across members needs
ignoring(at).PromQL
The bundled Grafana dashboard under
docker/grafanais updated to the new family.Tests
render_omits_unknown_positions,source_server_wal_end_is_absent_until_heardrender_emits_shadow_apply_lag_linesand the serve test assertwalshadow_position_lsn{at=...}