Add indexer health monitoring and backfill infrastructure - #580
Merged
Akatenvictor merged 2 commits intoAug 31, 2026
Merged
Conversation
- Add Prometheus metrics for indexer lag, events processed, and errors - Create IndexerService to track cursor positions and backfill status - Add admin endpoint GET /api/admin/indexer/status for health monitoring - Build Grafana dashboard for indexer visualization across all 5 contracts - Add database entities and migration for indexer_cursors and backfill_status - Document backfill runbook with safety mechanisms and resume capability This implementation covers: - Issue AudioBitsStellar#241: Prometheus metrics (indexer_lag_ledgers, indexer_events_processed_total, indexer_errors_total) - Issue AudioBitsStellar#242: Grafana dashboard (monitoring/dashboards/audioblock-indexer.json) - Issue AudioBitsStellar#250: Backfill framework with completion markers and documentation - Issue AudioBitsStellar#253: Admin-only indexer status endpoint with per-contract health data
|
@meshackyaro Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
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.
Summary
This PR implements a comprehensive indexer health monitoring system for tracking blockchain event processing across all 5 AudioBlock Stellar smart contracts.
Changes
Issue #241: Prometheus Metrics
Issue #242: Grafana Dashboard
Issue #250: Backfill Framework
Issue #253: Admin Status Endpoint
Testing
Run migration, test endpoint, view metrics and dashboard.
Closes #241, Closes #242, Closes #250, Closes #253