Skip to content

Commit d465876

Browse files
docs(otel): Emphasize that skipOpenTelemetrySetup: true requires manual setup (#15847)
## DESCRIBE YOUR PR closes getsentry/sentry-javascript#18517 --------- Co-authored-by: Sarah Mischinger <sarah@codingwriter.com>
1 parent 501d38f commit d465876

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/platforms/javascript/common/opentelemetry/custom-setup.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ sidebar_order: 0
3131

3232
Use this guide when you already have a completely custom OpenTelemetry setup or when you intend to add a custom OpenTelemetry setup next to the Sentry SDK.
3333

34+
Setting `skipOpenTelemetrySetup: true` disables the Sentry SDK's automatic OpenTelemetry configuration, **requiring** you to perform the setup manually. For example, to ensure errors are correctly associated with their scope, you must add the `SentryContextManager` to your OpenTelemetry setup. You can find details on the required manual setup further down on this page.
35+
3436
If you are looking to simply add individual OpenTelemetry instrumentation to your Sentry setup, you should read <PlatformLink to="/opentelemetry/using-opentelemetry-apis/#adding-additional-opentelemetry-instrumentation">Adding Additional OpenTelemetry Instrumentation</PlatformLink> instead.
3537

3638
</Alert>

0 commit comments

Comments
 (0)