Skip to content

Tracing Refactor and Cleanup#135

Merged
avalonche merged 24 commits intoflashbots:mainfrom
worldcoin:forerunner/tracing
Mar 25, 2025
Merged

Tracing Refactor and Cleanup#135
avalonche merged 24 commits intoflashbots:mainfrom
worldcoin:forerunner/tracing

Conversation

@0xForerunner
Copy link
Collaborator

This PR contains a handful of improvements:

  • Bump dependency version
  • Use tracing-opentelemetry crate
  • Clean up logging
  • Improve client error handling
  • Automate span based metrics

@vercel
Copy link

vercel bot commented Mar 14, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
rollup-boost ⬜️ Ignored (Inspect) Visit Preview Mar 25, 2025 0:26am

@0xForerunner
Copy link
Collaborator Author

@avalonche @ferranbt Could I grab a review?

if let Some(mut s) = span {
s.end()
};
let _ = builder_client
Copy link
Collaborator

Choose a reason for hiding this comment

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

I believe since the external payload id information is removed, there is an assumption here that the builder and local payload ids are the same. This is not always consistent across op-reth and op-geth?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I believe payload ids in fact are always consistent actually. If they're not then it's a bug in reth/geth.

Copy link
Collaborator

Choose a reason for hiding this comment

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

the specs don't really specify how the payload id should be constructed

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Interesting. In practice they are the same at the very least.

@0xForerunner
Copy link
Collaborator Author

@avalonche I believe I've addressed all your comments :) Please review my most recent 2 commits and let me know if everything looks good.

Copy link
Collaborator

@avalonche avalonche left a comment

Choose a reason for hiding this comment

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

Changes look ok to me but please add outstanding comments as issues on the repo

@avalonche
Copy link
Collaborator

also would be great to update the docs on the changes to metrics. I believe there are breaking changes to the metric labels which would break dashboards

@0xForerunner
Copy link
Collaborator Author

@avalonche I've updated the docs for you. Looks like I don't have permission to merge yet so you may have to do it for me! TY!

@avalonche avalonche merged commit c1295cd into flashbots:main Mar 25, 2025
5 checks passed
theochap pushed a commit to ethereum-optimism/optimism that referenced this pull request Feb 11, 2026
theochap pushed a commit to ethereum-optimism/optimism that referenced this pull request Feb 13, 2026
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

Successfully merging this pull request may close these issues.

3 participants