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

feat(node-experimental): Update tracing integrations to functional style #10443

Merged
merged 2 commits into from
Feb 1, 2024

Conversation

mydea
Copy link
Member

@mydea mydea commented Jan 31, 2024

This refactors the node-experimental performance integrations to functional style.
Importantly, it also slightly updates the options for httpIntegration & nativeNodeFetchIntegration, with what they can/should be in v8:

  • There is no way to disable span creation for them (this is pretty hacky to do, and prob. not needed - not allowing this simplifies this a lot)
  • You can define filters for incoming/outgoing requests to filter them fully - that will filter them both for breadcrumbs and spans.
  • spans are not created anyhow when tracing is disabled.

@mydea mydea requested review from lforst, Lms24 and AbhiPrasad January 31, 2024 15:48
@mydea mydea self-assigned this Jan 31, 2024
Copy link
Member

@AbhiPrasad AbhiPrasad left a comment

Choose a reason for hiding this comment

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

I'm very glad we have those integration tests

@mydea mydea force-pushed the fn/node-experimental-integrations branch from 123cc93 to 2a739e2 Compare January 31, 2024 15:52
@mydea
Copy link
Member Author

mydea commented Jan 31, 2024

I'm very glad we have those integration tests

Haha good that I double checked, this did not used to trigger node integration tests because packages/node-experimental was not picked up by CI as "changes in node" 😅

@mydea mydea merged commit 2000d7e into develop Feb 1, 2024
98 checks passed
@mydea mydea deleted the fn/node-experimental-integrations branch February 1, 2024 08:20
onurtemizkan pushed a commit that referenced this pull request Feb 4, 2024
…yle (#10443)

This refactors the node-experimental performance integrations to
functional style.
Importantly, it also slightly updates the options for httpIntegration &
nativeNodeFetchIntegration, with what they can/should be in v8:

* There is no way to disable span creation for them (this is pretty
hacky to do, and prob. not needed - not allowing this simplifies this a
lot)
* You can define filters for incoming/outgoing requests to filter them
fully - that will filter them both for breadcrumbs and spans.
* spans are not created anyhow when tracing is disabled.
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