Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat(node): Do not add HTTP & fetch span instrumentation if tracing is disabled #15730

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

mydea
Copy link
Member

@mydea mydea commented Mar 19, 2025

Part of #15725, this PR stops adding the HttpInstrumentation / UndiciInstrumentation if tracing is not enabled.

I think this should not really be breaking, as the integrations should not do anything else, if tracing is disabled 🤔

@mydea mydea self-assigned this Mar 19, 2025
mydea added a commit that referenced this pull request Mar 19, 2025
…ntation (#15732)

Part of #15730

Noticed that this is not really happening otherwise, so if we are not
adding the `HttpInstrumentation` we now make sure to extract incoming
traces ourselves! This will unlock us not adding that instrumentation
when tracing is disabled.

Also includes #15731
as a side effect.
mydea added a commit that referenced this pull request Mar 19, 2025
This is another stab at #15233, which was reverted here: #15354, with a different implementation.  It is required to make #15730 work.
chargome pushed a commit that referenced this pull request Mar 19, 2025
This is another stab at #15233, which was reverted here: #15354, with a different implementation.  It is required to make #15730 work.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants