-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
docs(node): Add snippet for OTel setup with NodeSDK #14582
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
Bundle ReportChanges will increase total bundle size by 2.93kB (0.01%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: sentry-docs-client-array-pushAssets Changed:
view changes for bundle: sentry-docs-server-cjsAssets Changed:
|
63b6b69 to
d0afd28
Compare
| // This relies on the SentrySampler for correct propagation | ||
| textMapPropagator: new SentryPropagator(), | ||
| // Ensure context & request isolation are correctly managed | ||
| contextManager: new Sentry.SentryContextManager() |
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.
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.
spanProcessor is a deprecated option - spanProcessors should be used instead.
andreiborza
left a comment
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.
Thanks for documenting this!
DESCRIBE YOUR PR
Adds docs for the setup with
NodeSDKof OpenTelemetry.There was already a "platform include" for the setup which I reused for this purpose. It was not used anywhere.
IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs to go live.
SLA
Thanks in advance for your help!
PRE-MERGE CHECKLIST
Make sure you've checked the following before merging your changes: