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

blockchain: add more spans to analyze block production timing #12332

Merged
merged 2 commits into from
Apr 25, 2023

Conversation

prestonvanloon
Copy link
Member

What type of PR is this?

Other

What does this PR do? Why is it needed?

Adds some additional spans to properly group and analyze data during block production when tracing is enabled.

Which issues(s) does this PR fix?

Other notes for review

@prestonvanloon prestonvanloon requested a review from a team as a code owner April 25, 2023 15:17
@prestonvanloon prestonvanloon marked this pull request as draft April 25, 2023 15:21
@prestonvanloon
Copy link
Member Author

Sorry, need to fix one thing first

@prestonvanloon prestonvanloon marked this pull request as ready for review April 25, 2023 15:23
@@ -148,7 +151,7 @@ func (s *Service) UpdateHead(ctx context.Context, proposingSlot primitives.Slot)
}).Debug("Head changed due to attestations")
}
s.headLock.RUnlock()
if err := s.forkchoiceUpdateWithExecution(s.ctx, newHeadRoot, proposingSlot); err != nil {
if err := s.forkchoiceUpdateWithExecution(ctx, newHeadRoot, proposingSlot); err != nil {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see my note in beacon-chain/blockchain/forkchoice_update_execution.go#L56

@prestonvanloon prestonvanloon added Ready For Review A pull request ready for code review OK to merge labels Apr 25, 2023
@prylabs-bulldozer prylabs-bulldozer bot merged commit 3894d60 into develop Apr 25, 2023
@delete-merged-branch delete-merged-branch bot deleted the more-spans branch April 25, 2023 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants