File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -291,6 +291,20 @@ export interface BaseReactNativeOptions {
291
291
* @deprecated This option will be removed in the next major version. Use `beforeSend` instead.
292
292
*/
293
293
useThreadsForMessageStack ?: boolean ;
294
+
295
+ /**
296
+ * If set to `true`, the SDK propagates the W3C `traceparent` header to any outgoing requests,
297
+ * in addition to the `sentry-trace` and `baggage` headers. Use the {@link CoreOptions.tracePropagationTargets}
298
+ * option to control to which outgoing requests the header will be attached.
299
+ *
300
+ * **Important:** If you set this option to `true`, make sure that you configured your servers'
301
+ * CORS settings to allow the `traceparent` header. Otherwise, requests might get blocked.
302
+ *
303
+ * @see https://www.w3.org/TR/trace-context/
304
+ *
305
+ * @default false
306
+ */
307
+ propagateTraceparent ?: boolean ;
294
308
}
295
309
296
310
export type SentryReplayQuality = 'low' | 'medium' | 'high' ;
You can’t perform that action at this time.
0 commit comments