-
Notifications
You must be signed in to change notification settings - Fork 7
feat: improve sequencer metrics #461
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
Conversation
frisitano
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added some comments inline. On a high level I think we should record the following metrics:
block_building_duration: the time it takes to build a non-empty blockempty_block_building_duration: the time it takes to build an empty blockconsecutive_block_interval: the time between two consecutive blocks that are added to the canonical chain.
I'm not sure if you had a different idea about these metrics to please let me know if I have misunderstood something.
Oh, I understand it is that: if I want to check the block building duration, I will check the whole block building duration, then check the no-empty block building duration, then I will get the conclusion for it ( because the empty block building will always have a constant value, no sense to display this alone, and can calculate it from the What do you think? |
frisitano
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a comment inline. I think the description you provided does not match the code.
4107508 to
d941f8b
Compare
frisitano
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this solution doesn't work as expected. Please let me know if I made a mistake in my understanding.
No description provided.