Summary
When the indexer falls behind the latest ledger by more than 50 ledgers it signals a processing problem, but currently no log is emitted to alert operators. A warning log should be emitted each time the gap is detected above the threshold.
Scope
- Compare the latest processed ledger to the latest network ledger after each indexer tick
- If the gap exceeds 50, emit a warning log with fields:
latest_processed_ledger, latest_network_ledger, gap, detected_at
- Log emitted once per tick while the gap persists — not rate-limited to once per gap event
- Log level: warn
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
When the indexer falls behind the latest ledger by more than 50 ledgers it signals a processing problem, but currently no log is emitted to alert operators. A warning log should be emitted each time the gap is detected above the threshold.
Scope
latest_processed_ledger,latest_network_ledger,gap,detected_atAcceptance Criteria
ETA: 12 hours
Coordinate on Telegram