ref(node): Remove OpenTelemetryServerRuntimeOptions type - #23228
Merged
andreiborza merged 2 commits intoAug 10, 2026
Conversation
Co-Authored-By: Opus 5 <noreply@anthropic.com>
nicohrubec
approved these changes
Aug 10, 2026
| ### `@sentry/node` / Server-side SDKs | ||
|
|
||
| - `SentryContextManager` is no longer exported. It is no longer needed now that Sentry does not set up OpenTelemetry by default. | ||
| - The `OpenTelemetryServerRuntimeOptions` type was removed. Its only remaining option, `enableOpenTelemetrySetup`, is part of the SDK-specific options types (e.g. `NodeOptions`). |
Member
There was a problem hiding this comment.
we shouldn't update this yet I think, only after the next release
Member
Author
There was a problem hiding this comment.
Good point, dropped it. Will add it back after the next release.
Contributor
size-limit report 📦
|
Member
andreiborza
marked this pull request as ready for review
August 10, 2026 12:51
andreiborza
requested review from
JPeer264 and
mydea
and removed request for
a team
August 10, 2026 12:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What
Removes the
OpenTelemetryServerRuntimeOptionstype. Its only remaining option,enableOpenTelemetrySetup, now lives directly on the SDK-specific option types.BaseNodeOptionsdeclaresenableOpenTelemetrySetupand extendsServerRuntimeOptionsdirectly.BaseBunOptionsdeclares its ownenableOpenTelemetrySetup, matching how the Deno, Cloudflare and Vercel Edge SDKs already declare it.@sentry/nodeno longer exports the type.Why
The type existed to share OpenTelemetry options across server runtimes, but the rest of those options (
skipOpenTelemetrySetup,openTelemetryInstrumentations,openTelemetrySpanProcessors,validateOpenTelemetrySetup) are already gone. With a single option left, the shared base only added indirection.Closes: #21118