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

Add rolling ingestions stats #27

Open
brson opened this issue May 24, 2022 · 0 comments
Open

Add rolling ingestions stats #27

brson opened this issue May 24, 2022 · 0 comments

Comments

@brson
Copy link
Collaborator

brson commented May 24, 2022

We still have cases where block imports fall behind the chain and never catch up. Add some stats to show us more about what is happening.

During import keep a rolling calculation of

  • imported blocks / second
  • blocks / second being generated according to the timestamps on the imported blocks
  • an estimate of time until import is complete based on number of blocks left
  • an estimate of new blocks generated on-chain since import began
  • an estimate of time to import all the new blocks since import began

Write these to disk and put them on the "log" page.

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