You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove OTel resources and drop contexts.otel.resource #21973
In v11 the default (and, after JS-2585, only) tracer provider is SentryTracerProvider, which runs no OTel SDK export pipeline. The OTel resource is no longer meaningful and should be removed.
Drop getSentryResource / packages/opentelemetry/src/resource.ts (or reduce it to what's still needed)
Stop attaching contexts.otel.resource to transaction events (packages/node/src/sdk/initOtel.ts:169-176)
Remove the resource passed to SentryTracerProvider in initOtel.ts
This eliminates the @opentelemetry/coreSDK_INFO import in resource.ts:2 (last core import besides SentryPropagator)
v11 migration note: contexts.otel.resource (incl. telemetry.sdk.*) no longer attached to events
Relates to JS-2585 (removes the options that force the full OTel SDK provider) and JS-2820 (SentryPropagator removal). Together these remove the last direct @opentelemetry/core imports from @sentry/opentelemetry, unblocking JS-2929 (peer removal).
Activity
linear-code commentedon Jul 6, 2026
JS-2930
ref(opentelemetry): Drop OTel resource and `contexts.otel.resource` (#…
github-actions commentedon Sep 23, 2026
A PR closing this issue has just been released 🚀
This issue was referenced by PR #23013, which was included in the 11.0.0 release.