-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Meta: Good First IssuePackage: nodeIssues related to the Sentry Node SDKIssues related to the Sentry Node SDKType: Documentation
Description
https://github.com/getsentry/sentry-javascript/tree/develop/packages/node#esm-support
node --experimental-loader=@opentelemetry/instrumentation/hook.mjs ./app.js
We should probably be telling users to use our own hook rather than the otel one, that way we can change the behaviour in the future without it being a breaking change
You'll need to install @opentelemetry/instrumentation in your app to ensure this works.
This isn't required. Has this been mistakenly kept from when this was the node-experimental package?
Maybe we can just remove all this ESM detail and point to these docs?
Metadata
Metadata
Assignees
Labels
Meta: Good First IssuePackage: nodeIssues related to the Sentry Node SDKIssues related to the Sentry Node SDKType: Documentation