Skip to content

Add shared build-time instrumentation opt-out to build options #22680

Description

@chargome

With the orchestrion transform applied automatically at build time, users need a public opt-out (transform breaks a dep, custom OTel setup). No such option exists today.

  • Add an opt-out option to the shared build options (buildTimeOptionsBase.ts) and plumb it through sentryOrchestrionPlugin and the @sentry/node/* bundler plugin wrappers
  • When disabled, no orchestrion code may end up in the bundle

Metadata

Metadata

Assignees

Labels

FeaturejavascriptPull requests that update javascript code

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions