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

More tracing in the validator client #14125

Merged
merged 2 commits into from
Jun 20, 2024
Merged

More tracing in the validator client #14125

merged 2 commits into from
Jun 20, 2024

Conversation

rkapka
Copy link
Contributor

@rkapka rkapka commented Jun 20, 2024

Tracing in the validator client is currently rare therefore not very useful. Especially there is no tracing in the beacon-api package.

@rkapka rkapka requested a review from a team as a code owner June 20, 2024 13:06
@rkapka rkapka added Ready For Review A pull request ready for code review Validator Client labels Jun 20, 2024
prestonvanloon
prestonvanloon previously approved these changes Jun 20, 2024
Copy link
Member

@terencechain terencechain left a comment

Choose a reason for hiding this comment

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

how does this affect validator client performance?

@prestonvanloon
Copy link
Member

how does this affect validator client performance?

It has zero* side effects unless you're running with --enable-tracing

*zero means a few micro seconds to check check if the span should be metered or not. I don't think it's entirely "free" but it's so small that it shouldn't be noticeable

@rkapka rkapka added this pull request to the merge queue Jun 20, 2024
Merged via the queue into develop with commit df3a9f2 Jun 20, 2024
17 checks passed
@rkapka rkapka deleted the more-tracing-in-vc branch June 20, 2024 16:22
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 Validator Client
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants