-
-
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
Sentry Node.js ESM + OTEL instrumentation blockers - Part 3 #12806
Comments
Unsure if it's related to the Like that
This is how I'm running my node:
|
@RIP21 this issue tracked here: |
I'm hoping that this For a bit of context... The above PR should allow us to signal to |
We've released https://github.com/getsentry/sentry-javascript/releases/tag/8.29.0 which includes #13139 as part of this PR. As such I think we can close this issue. @timfish mind helping follow up on the linked issues? |
Yep and I think many of the issues are assigned to me which should help! |
With the release of v8 of the Sentry SDK, the Node SDK now relies on OpenTelemetry. OpenTelemetry instrumentation does have some problems though (particularly with ESM because of import-in-the-middle), so this issue aims at documented these gaps.
Part 1: #12242
Part 2: #12485
With
8.15.0
+[email protected]
we released most of the fixes for Part 2, but there are a new set of bugs for us to release fixes for. This is tracked in this issue.import-in-the-middle PRs to be merged
format
when resolving exports from sub-modules nodejs/import-in-the-middle#140format
when resolving exports from relative paths nodejs/import-in-the-middle#145--import
nodejs/import-in-the-middle#146include
andexclude
options nodejs/import-in-the-middle#148Sentry issues
.
inexports
property of CJS file breaks dynamic imports #12622@sentry/astro
breaksdrizzle-orm
in Astro #129121.
openai
shims causes issuesIssue: #12414
IITM issue: nodejs/import-in-the-middle#38
Asking about this to Node.js loaders team: nodejs/loaders#198 (comment)
2. CJS identifiers that don't work in ESM break
Issue: #12622
IITM issue: nodejs/import-in-the-middle#94
Fix: nodejs/import-in-the-middle#115
3. Unexpected closing brace error from import-in-the-middle (affects
discordjs
)Issue: #12807
Repro: https://github.com/bubooon/sentry-nuxt-nitro-example
4. No spans are created for Node
http.get
calls in ESM modeIssue: open-telemetry/opentelemetry-js#4857
Repro: https://github.com/Lms24/otel-node-http-get-esm-reproduction
The text was updated successfully, but these errors were encountered: