Skip to content

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

Merged
mydea merged 2 commits intodevelopfrom
fn/node-experimental-integrations
Feb 1, 2024
Merged

feat(node-experimental): Update tracing integrations to functional style#10443
mydea merged 2 commits intodevelopfrom
fn/node-experimental-integrations

Conversation

@mydea
Copy link
Copy Markdown
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 AbhiPrasad, Lms24 and lforst January 31, 2024 15:48
@mydea mydea self-assigned this Jan 31, 2024
Copy link
Copy Markdown
Contributor

@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
Copy Markdown
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
@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