Title: Remove OTel resources and drop `contexts.otel.resource` · Issue #21973 · getsentry/sentry-javascript · GitHub
Open Graph Title: Remove OTel resources and drop `contexts.otel.resource` · Issue #21973 · getsentry/sentry-javascript
X Title: Remove OTel resources and drop `contexts.otel.resource` · Issue #21973 · getsentry/sentry-javascript
Description: 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/opentelemet...
Open Graph Description: 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 ...
X Description: 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 ...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/21973
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove OTel resources and drop `contexts.otel.resource`","articleBody":"In v11 the default (and, after [JS-2585](\u003chttps://linear.app/getsentry/issue/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.\n\n- [ ] Drop `getSentryResource` / `packages/opentelemetry/src/resource.ts` (or reduce it to what's still needed)\n- [ ] Stop attaching `contexts.otel.resource` to transaction events (`packages/node/src/sdk/initOtel.ts:169-176`)\n- [ ] Remove the `resource` passed to `SentryTracerProvider` in `initOtel.ts`\n- [ ] This eliminates the `@opentelemetry/core` `SDK_INFO` import in `resource.ts:2` (last core import besides `SentryPropagator`)\n- [ ] v11 migration note: `contexts.otel.resource` (incl. `telemetry.sdk.*`) no longer attached to events\n\nRelates to [JS-2585](\u003chttps://linear.app/getsentry/issue/JS-2585>) (removes the options that force the full OTel SDK provider) and [JS-2820](\u003chttps://linear.app/getsentry/issue/JS-2820>) (SentryPropagator removal). Together these remove the last direct `@opentelemetry/core` imports from `@sentry/opentelemetry`, unblocking [JS-2929](\u003chttps://linear.app/getsentry/issue/JS-2929>) (peer removal).","author":{"url":"https://github.com/andreiborza","@type":"Person","name":"andreiborza"},"datePublished":"2026-07-06T08:16:00Z","url":"https://github.com/getsentry/sentry-javascript/issues/21973"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1324d85b-bb6a-289a-13be-2c1ec0ecc969 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DE6C:19B98B:82A353:B76A17:6B0481EE |
| html-safe-nonce | 388049fb486e9c82873c050689eb94963d7b2e9f70357959d16f216fc4dff0dd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTZDOjE5Qjk4Qjo4MkEzNTM6Qjc2QTE3OjZCMDQ4MUVFIiwidmlzaXRvcl9pZCI6IjYzNjk5ODM2ODkxODY5MDI1MTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e679e3429a883c4afc8bdcd43e23f0c3643473df2afcadf8d7d1be9e770a5747 |
| hovercard-subject-tag | issue:4817258475 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/21973/issue_layout |
| twitter:image | https://opengraph.githubassets.com/54e193c8968bbab101a39e807cd0ed613558a32d4ed05f0abfa4596e251ece4e/getsentry/sentry-javascript/issues/21973 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/54e193c8968bbab101a39e807cd0ed613558a32d4ed05f0abfa4596e251ece4e/getsentry/sentry-javascript/issues/21973 |
| og:image:alt | 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andreiborza |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0366ddfb372682a32e92a5d86155cb08fa83e5bbe79953a968789f2f7e24c511 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ed3f2e01f6b7672780c586c8af0e72726374d7b6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width