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.
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).
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.getSentryResource/packages/opentelemetry/src/resource.ts(or reduce it to what's still needed)contexts.otel.resourceto transaction events (packages/node/src/sdk/initOtel.ts:169-176)resourcepassed toSentryTracerProviderininitOtel.ts@opentelemetry/coreSDK_INFOimport inresource.ts:2(last core import besidesSentryPropagator)contexts.otel.resource(incl.telemetry.sdk.*) no longer attached to eventsRelates 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/coreimports from@sentry/opentelemetry, unblocking JS-2929 (peer removal).