Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend metrics to support building indexing progress indicators #1548

Open
tk-o opened this issue Feb 20, 2025 · 0 comments
Open

Extend metrics to support building indexing progress indicators #1548

tk-o opened this issue Feb 20, 2025 · 0 comments

Comments

@tk-o
Copy link
Contributor

tk-o commented Feb 20, 2025

Problem / use case

I want to build a web UI where I'd present current indexing progress, grouped by chain ID.

For example, knowing total ponder_historical_total_blocks tells me how many blocks are there to be processed. However, I don't know if there's any metric on indexed blocks count. This would be required to do this simple progress bar math:

indexedBlocksCount / historicalBlocksCount

Proposed solution

Include a metric that tracks a count of all blocks indexed by chain ID.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant