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

tracing: Add otel tracer transport to all http clients #14972

Merged
merged 3 commits into from
Feb 21, 2025

Conversation

prestonvanloon
Copy link
Member

@prestonvanloon prestonvanloon commented Feb 21, 2025

What type of PR is this?

Feature

What does this PR do? Why is it needed?

Allows for tracing headers to be sent during http requests such that spans across the validator <> beacon-chain can be connected in the tracing graphs.

Which issues(s) does this PR fix?

Other notes for review

Supersedes #14825

Acknowledgements

Verified

This commit was signed with the committer’s verified signature.
snyk-bot Snyk bot
Note: This may not be the best solution as the http client is defined in many places. There should be a canoncial http client with the proper setup.
@prestonvanloon prestonvanloon requested a review from a team as a code owner February 21, 2025 15:26
@prestonvanloon prestonvanloon mentioned this pull request Feb 21, 2025
3 tasks
Copy link
Contributor

@james-prysm james-prysm left a comment

Choose a reason for hiding this comment

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

lgtm, i wonder if we should clean up all these HTTP clients in the future

@prestonvanloon
Copy link
Member Author

prestonvanloon commented Feb 21, 2025

i wonder if we should clean up all these HTTP clients in the future

Yeah, we should have just one http client. I think that would be good

@prestonvanloon prestonvanloon added this pull request to the merge queue Feb 21, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 21, 2025
@prestonvanloon prestonvanloon added this pull request to the merge queue Feb 21, 2025
Merged via the queue into develop with commit 9bceaa5 Feb 21, 2025
17 checks passed
@prestonvanloon prestonvanloon deleted the otel-http-client branch February 21, 2025 20:10
rkapka pushed a commit that referenced this pull request Mar 19, 2025
* Fixed otelhttp client setups.

Note: This may not be the best solution as the http client is defined in many places. There should be a canoncial http client with the proper setup.

* Changelog fragment

* go mod tidy and gazelle
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.

2 participants