Measure consensus verification time #6089
Merged
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.
Issue Addressed
We added a metric for "execution verification time" in a previous PR, but it actually captured consensus verification time as well:
Proposed Changes
consensus_verification_time
which is the delay between the block being observed and it being fully validated from Lighthouse's PoV (parent state loaded & state transition complete).Additional Info
We should ideally update the missing attestations blog post:
As well as the dashboard in
lighthouse-metrics
: