Skip to content

Commit baa8a78

Browse files
authored
feat(javascript): propagateTraceparent for all SDKs + Logs fix (#15873)
- Ref getsentry/sentry-javascript#18263 This PR: - Displays the `propagateTraceparent` option for all SDK rather than just the browser - Moves `Logs Options` outside of browser only so it's now displayed for all SDKs too
1 parent 79707fc commit baa8a78

File tree

1 file changed

+3
-3
lines changed
  • docs/platforms/javascript/common/configuration

1 file changed

+3
-3
lines changed

docs/platforms/javascript/common/configuration/options.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ Sentry.init({
497497

498498
</SdkOption>
499499

500-
<SdkOption name="propagateTraceparent" type='boolean' defaultValue='false' availableSince='10.10.0' categorySupported={['browser']}>
500+
<SdkOption name="propagateTraceparent" type='boolean' defaultValue='false' availableSince='10.10.0'>
501501

502502
If set to `true`, the SDK adds the [W3C `traceparent` header](https://www.w3.org/TR/trace-context/) to outgoing Http requests made via `fetch` or `XMLHttpRequest`.
503503
This header is attached in addition to the `sentry-trace` and `baggage` headers.
@@ -514,8 +514,6 @@ See <PlatformLink to="/tracing/distributed-tracing/dealing-with-cors-issues/">De
514514

515515
</SdkOption>
516516

517-
<PlatformCategorySection supported={['browser']}>
518-
519517
## Logs Options
520518

521519
<SdkOption name="enableLogs" type='boolean' defaultValue='false'>
@@ -530,6 +528,8 @@ This function is called with a log object, and can return a modified log object,
530528

531529
</SdkOption>
532530

531+
<PlatformCategorySection supported={['browser']}>
532+
533533
## Session Replay Options
534534

535535
<SdkOption name="replaysSessionSampleRate" type='number' categorySupported={['browser']}>

0 commit comments

Comments
 (0)