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

core/corehttp: wrap hostname option with otelhttp #10302

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

hacdias
Copy link
Member

@hacdias hacdias commented Jan 16, 2024

We were missing the OTel handler in the hostname option, so not all requests with traceparent were getting attached to the traceparent header.

@hacdias hacdias added the skip/changelog This change does NOT require a changelog entry label Jan 16, 2024
@hacdias hacdias requested a review from Jorropo January 16, 2024 09:56
@hacdias hacdias self-assigned this Jan 16, 2024
@hacdias hacdias requested a review from lidel as a code owner January 16, 2024 09:56
Copy link
Contributor

@Jorropo Jorropo left a comment

Choose a reason for hiding this comment

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

SGTM

I think we could simplify this by wrapping the muxer once after it is muxed from all the various gateways.

@hacdias hacdias merged commit 0ec6308 into master Jan 16, 2024
17 of 18 checks passed
@hacdias hacdias deleted the feat/hostname-option-otel branch January 16, 2024 10:12
@hacdias
Copy link
Member Author

hacdias commented Jan 16, 2024

@Jorropo I think that can be a good idea, but we have to see if we want tracing for everything that goes in the gateways. I will take a look separetly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip/changelog This change does NOT require a changelog entry
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants