You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deprecate registerEsmLoaderHooks.include and registerEsmLoaderHooks.exclude in favor of using onlyIncludeInstrumentedModules: true and add a note to registerEsmLoaderHooks 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: Deprecate registerEsmLoaderHooks.include and registerEsmLoaderHooks.exclude #14486)
Adjust docs to recommend using the openTelemetryInstrumentations option instead of addOpenTelemetryInstrumentation and adjust docs to recommend always setting registerEsmLoaderHooks: 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)
Description
As prework to #14332 we want to do multiple things:
openTelemetryInstrumentations
option toSentry.init()
andNodeClient
as an alternative and migration path for the foot-gunnySentry.addOpenTelemetryInstrumentation()
(feat(node): AddopenTelemetryInstrumentations
option #14484)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)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)addOpenTelemetryInstrumentation
(feat: DeprecateaddOpenTelemetryInstrumentation
#14485)The text was updated successfully, but these errors were encountered: