Skip to content

feat(server-utils)!: Rename otlpIntegration to openTelemetryIntegration - #23938

Merged
andreiborza merged 1 commit into
developfrom
ab/js-3533-rename-otlp-integration
Sep 2, 2026
Merged

andreiborza merged 1 commit into
developfrom
ab/js-3533-rename-otlp-integration

Conversation

@andreiborza

@andreiborza andreiborza commented Sep 2, 2026

Copy link
Copy Markdown
Member

What

Renames otlpIntegration() to openTelemetryIntegration(), reporting itself as OpenTelemetry instead of Otlp. getOtlpTracesEndpoint() keeps its name, since it really does derive Sentry's OTLP traces endpoint from the DSN.

Why

The old name suggested the integration sends data over OTLP. It sends nothing: it sets up no exporter, no span processor and no tracer provider, and only connects what Sentry sends to the active OpenTelemetry span.

Closes: #23937

…ation`

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@linear-code

linear-code Bot commented Sep 2, 2026

Copy link
Copy Markdown

JS-3533

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 28.57 kB -4.23% -1.26 kB 🔽
@sentry/browser - with treeshaking flags 26.94 kB -3.9% -1.09 kB 🔽
@sentry/browser (incl. Tracing) 48.87 kB +3.44% +1.62 kB 🔺
@sentry/browser (incl. Tracing + Span Streaming) 48.88 kB +3.4% +1.6 kB 🔺
@sentry/browser (incl. Tracing, Profiling) 51.8 kB -0.38% -197 B 🔽
@sentry/browser (incl. Tracing, Replay) 88.36 kB +2.05% +1.77 kB 🔺
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 77.76 kB +2.32% +1.76 kB 🔺
@sentry/browser (incl. Tracing, Replay with Canvas) 93.05 kB +1.94% +1.77 kB 🔺
@sentry/browser (incl. Tracing, Replay, Feedback) 106.02 kB +1.99% +2.06 kB 🔺
@sentry/browser (incl. Feedback) 46.06 kB -2.28% -1.07 kB 🔽
@sentry/browser (incl. sendFeedback) 33.64 kB -2.98% -1.03 kB 🔽
@sentry/browser (incl. FeedbackAsync) 38.74 kB -2.61% -1.03 kB 🔽
@sentry/browser (incl. Metrics) 29.52 kB -4.48% -1.38 kB 🔽
@sentry/browser (incl. Logs) 29.81 kB -4.29% -1.33 kB 🔽
@sentry/browser (incl. Metrics & Logs) 30.45 kB -4.3% -1.37 kB 🔽
@sentry/react 30.32 kB -4.15% -1.31 kB 🔽
@sentry/react (incl. Tracing) 51.08 kB +3.17% +1.57 kB 🔺
@sentry/vue 35.74 kB +2.35% +819 B 🔺
@sentry/vue (incl. Tracing) 51.14 kB +3.87% +1.9 kB 🔺
@sentry/svelte 28.6 kB -4.21% -1.25 kB 🔽
CDN Bundle 30.36 kB -4.75% -1.51 kB 🔽
CDN Bundle (incl. Tracing) 49.52 kB +4.17% +1.98 kB 🔺
CDN Bundle (incl. Logs, Metrics) 32.59 kB -2.46% -819 B 🔽
CDN Bundle (incl. Tracing, Logs, Metrics) 51.43 kB +5.07% +2.48 kB 🔺
CDN Bundle (incl. Replay, Logs, Metrics) 73.19 kB +0.61% +439 B 🔺
CDN Bundle (incl. Tracing, Replay) 87 kB +2.14% +1.82 kB 🔺
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 88.88 kB +2.75% +2.38 kB 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) 92.93 kB +2.11% +1.92 kB 🔺
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 94.83 kB +2.74% +2.52 kB 🔺
CDN Bundle - uncompressed 89.97 kB -4.92% -4.65 kB 🔽
CDN Bundle (incl. Tracing) - uncompressed 147.57 kB +3.84% +5.45 kB 🔺
CDN Bundle (incl. Logs, Metrics) - uncompressed 96.27 kB -3% -2.98 kB 🔽
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 153.26 kB +4.91% +7.16 kB 🔺
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 225.43 kB +0.67% +1.49 kB 🔺
CDN Bundle (incl. Tracing, Replay) - uncompressed 267.07 kB +2.18% +5.69 kB 🔺
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 272.74 kB +2.79% +7.4 kB 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 280.77 kB +2.07% +5.69 kB 🔺
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 286.43 kB +2.66% +7.4 kB 🔺
@sentry/nextjs (client) 53.7 kB +3.11% +1.62 kB 🔺
@sentry/sveltekit (client) 49.3 kB +3.35% +1.59 kB 🔺
@sentry/core/server 40.74 kB -37.82% -24.78 kB 🔽
@sentry/core/browser 13.42 kB -74.13% -38.46 kB 🔽
@sentry/node 124.12 kB +3.24% +3.89 kB 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 81.51 kB added added
@sentry/node - without tracing 88.3 kB +5.51% +4.61 kB 🔺
@sentry/aws-serverless 96.67 kB +4.68% +4.31 kB 🔺
@sentry/cloudflare (withSentry) - minified 200.81 kB -8.16% -17.84 kB 🔽
@sentry/cloudflare (withSentry) 499.76 kB -7.26% -39.09 kB 🔽
@sentry/browser - with treeshaking flags tracing without tracing 26.83 kB added added
@sentry/node - without channel injection 103.42 kB added added

View base workflow run

@andreiborza
andreiborza marked this pull request as ready for review September 2, 2026 12:53
@andreiborza
andreiborza requested review from a team as code owners September 2, 2026 12:53
@andreiborza
andreiborza requested review from a team, JPeer264, chargome, isaacs, mydea and nicohrubec and removed request for a team and nicohrubec September 2, 2026 12:53

@Lms24 Lms24 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we planning on backporting this to v10 and deprecating otlpIntegration ?

@andreiborza

Copy link
Copy Markdown
Member Author

@Lms24 no don't think so, the entire node-core SDK got nuked, it was the only SDK that had that integration. This one could technically be seen as a complete new integration.

Not sure we need to backport, wdyt?

@Lms24

Lms24 commented Sep 2, 2026

Copy link
Copy Markdown
Member

ah ok, no makes sense, thx!

@andreiborza
andreiborza merged commit 46e0cb4 into develop Sep 2, 2026
572 of 574 checks passed
@andreiborza
andreiborza deleted the ab/js-3533-rename-otlp-integration branch September 2, 2026 13:08
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.

Rename otlpIntegration to openTelemetryIntegration

3 participants