-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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): Add tracing without performance to Node http integration #8450
Conversation
All these test failures are v confusing as well 😢 |
f75aa41
to
f6b4193
Compare
Alright I'm forcing sampling decisions for the integration tests, hopefully that helps with the problems. The biggest problem with our Remix and Nextjs integration tests is that the Sentry instances bleeds into the tests for some reason - we need true encapsulation like our e2e tests I think. Also both the nextjs and remix tests are super tough to debug - the DX needs to be improved here. |
~alright so looks like we're good for nextjs (other than flakes), only remix is being weird 🤔 ~ nvm 😭 |
size-limit report 📦
|
One day tests will pass and it will be glorious... |
af3dd18
to
2950ca6
Compare
e2e tests should be taken care of by #8486 |
f0fefc0
to
a38d24d
Compare
@@ -96,13 +108,20 @@ export class Http implements Integration { | |||
return; | |||
} | |||
|
|||
// TODO (v8): `tracePropagationTargets` and `shouldCreateSpanForRequest` will be removed from clientOptions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
l: Should we keep this v8 comment around?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't think so, it doesn't apply anymore and deprecation should take care of the tracePropagationTargets
option.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice refactor around header normalization and setting the headers!
ref #8352
Updates the Node HTTP integration to always attach
sentry-trace
headers to outgoing requests.This can be controlled with the top level
tracePropagationOptions
option.