Closed
Description
openedon Nov 26, 2024
Description
As prework to #14332 we want to do multiple things:
- Add a
openTelemetryInstrumentations
option toSentry.init()
andNodeClient
as an alternative and migration path for the foot-gunnySentry.addOpenTelemetryInstrumentation()
(feat(node): AddopenTelemetryInstrumentations
option #14484) - Deprecate
registerEsmLoaderHooks.include
andregisterEsmLoaderHooks.exclude
in favor of usingonlyIncludeInstrumentedModules: true
and add a note toregisterEsmLoaderHooks
and all of its "object options" explaining that in the future the SDK will only wrap modules that there are OTEL instrumentations registered for. (feat: DeprecateregisterEsmLoaderHooks.include
andregisterEsmLoaderHooks.exclude
#14486) - Adjust docs to recommend using the
openTelemetryInstrumentations
option instead ofaddOpenTelemetryInstrumentation
and adjust docs to recommend always settingregisterEsmLoaderHooks: false
and registering their own loader hooks if a complete custom OTEL setup is used. (Guide towards v9 for ESM OTEL setups sentry-docs#11974) - Deprecate
addOpenTelemetryInstrumentation
(feat: DeprecateaddOpenTelemetryInstrumentation
#14485)
Activity