Skip to content

ref(opentelemetry): Delete opentelemetry package - #23317

Closed
mydea wants to merge 3 commits into
developfrom
fn/delete-otel-package
Closed

ref(opentelemetry): Delete opentelemetry package#23317
mydea wants to merge 3 commits into
developfrom
fn/delete-otel-package

Conversation

@mydea

@mydea mydea commented Aug 12, 2026

Copy link
Copy Markdown
Member

This should no longer be used by consumers directly. The remaining exports we use internally have been moved to @sentry/server-utils/opentelemetry.

  • I also renamed getScopesFromContext to getScopesFromOpenTelemetryContext for clarity - this is used by nextjs and I don't think we can easily get rid of it, but it should at least be clear what it does now.
  • Moved the AsyncLocalStorageLookup export out of otel into plain server-utils as it is not only used for otel.

@mydea
mydea force-pushed the fn/delete-otel-package branch from b8bf87f to 9da047a Compare August 12, 2026 07:51
@github-actions

github-actions Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 30.29 kB - -
@sentry/browser - with treeshaking flags 28.47 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 26.81 kB - -
@sentry/browser (incl. Tracing) 48.53 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 48.55 kB - -
@sentry/browser (incl. Tracing, Profiling) 51.43 kB - -
@sentry/browser (incl. Tracing, Replay) 87.92 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 77.34 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 92.64 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 105.34 kB - -
@sentry/browser (incl. Feedback) 47.62 kB - -
@sentry/browser (incl. sendFeedback) 35.12 kB - -
@sentry/browser (incl. FeedbackAsync) 40.27 kB - -
@sentry/browser (incl. Metrics) 31.28 kB - -
@sentry/browser (incl. Logs) 31.54 kB - -
@sentry/browser (incl. Metrics & Logs) 32.21 kB - -
@sentry/react 32.09 kB - -
@sentry/react (incl. Tracing) 50.72 kB - -
@sentry/vue 35.3 kB - -
@sentry/vue (incl. Tracing) 50.48 kB - -
@sentry/svelte 30.31 kB - -
CDN Bundle 31.6 kB - -
CDN Bundle (incl. Tracing) 48.85 kB - -
CDN Bundle (incl. Logs, Metrics) 33.82 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 50.81 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 74.35 kB - -
CDN Bundle (incl. Tracing, Replay) 86.44 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 88.31 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 92.15 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 94.13 kB - -
CDN Bundle - uncompressed 93.83 kB - -
CDN Bundle (incl. Tracing) - uncompressed 146.66 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 100.23 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 152.45 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 229.17 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 265.92 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 271.7 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 279.62 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 285.39 kB - -
@sentry/nextjs (client) 53.27 kB - -
@sentry/sveltekit (client) 48.94 kB - -
@sentry/core/server 65.41 kB - -
@sentry/core/browser 51.77 kB - -
@sentry/node 118.52 kB +0.49% +568 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 0 B added added
@sentry/node - without tracing 82.52 kB +0.57% +460 B 🔺
@sentry/aws-serverless 91.91 kB +0.5% +449 B 🔺
@sentry/cloudflare (withSentry) - minified 213.88 kB - -
@sentry/cloudflare (withSentry) 528.3 kB - -

View base workflow run

Base automatically changed from fn/remove-unused-methods to develop August 12, 2026 08:29
@mydea
mydea force-pushed the fn/delete-otel-package branch from 9da047a to f110ac2 Compare August 12, 2026 08:29
@mydea
mydea force-pushed the fn/delete-otel-package branch from f110ac2 to 72de186 Compare August 12, 2026 09:26
@mydea mydea closed this Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant