From 9796672ee1e86037b81d5ad6321f2b4661d03a96 Mon Sep 17 00:00:00 2001 From: Philipp Hofmann Date: Wed, 8 Oct 2025 05:08:43 +0200 Subject: [PATCH 1/3] feat(apple): Add the option propagate trace parent Add docs for the new option enablePropagateTraceParent. --- .../apple/common/configuration/options.mdx | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/platforms/apple/common/configuration/options.mdx b/docs/platforms/apple/common/configuration/options.mdx index 2d9aa542d52e1..d322e91afcc71 100644 --- a/docs/platforms/apple/common/configuration/options.mdx +++ b/docs/platforms/apple/common/configuration/options.mdx @@ -263,6 +263,19 @@ If is not provided, trac + + + +This option is available from [version 9.0.0](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#9000). + +If set to `true`, the SDK adds the [W3C `traceparent` header](https://www.w3.org/TR/trace-context/) to outgoing HTTP requests. +This header is attached in addition to the `sentry-trace` and `baggage` headers. +Set this option to `true` if your backend services are instrumented with e.g. OpenTelemetry or other W3C Trace Context compatible libraries and you want to continue traces from the client. + +Use to control which requests the `traceparent` header is attached to. + + + From c081b5e1d1009cf86b36213da9a5b511dcc7486d Mon Sep 17 00:00:00 2001 From: Philipp Hofmann Date: Fri, 10 Oct 2025 08:00:07 +0200 Subject: [PATCH 2/3] Update docs/platforms/apple/common/configuration/options.mdx Co-authored-by: Alex Krawiec --- docs/platforms/apple/common/configuration/options.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/platforms/apple/common/configuration/options.mdx b/docs/platforms/apple/common/configuration/options.mdx index d322e91afcc71..06a867deb261d 100644 --- a/docs/platforms/apple/common/configuration/options.mdx +++ b/docs/platforms/apple/common/configuration/options.mdx @@ -266,7 +266,7 @@ If is not provided, trac -This option is available from [version 9.0.0](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#9000). +This option is available as of [version 9.0.0](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#9000). If set to `true`, the SDK adds the [W3C `traceparent` header](https://www.w3.org/TR/trace-context/) to outgoing HTTP requests. This header is attached in addition to the `sentry-trace` and `baggage` headers. From 54ad51835a339c71c2b6edeb84ee01086a84a9fa Mon Sep 17 00:00:00 2001 From: Philipp Hofmann Date: Fri, 10 Oct 2025 08:00:13 +0200 Subject: [PATCH 3/3] Update docs/platforms/apple/common/configuration/options.mdx Co-authored-by: Alex Krawiec --- docs/platforms/apple/common/configuration/options.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/platforms/apple/common/configuration/options.mdx b/docs/platforms/apple/common/configuration/options.mdx index 06a867deb261d..53450dafd40ab 100644 --- a/docs/platforms/apple/common/configuration/options.mdx +++ b/docs/platforms/apple/common/configuration/options.mdx @@ -270,7 +270,7 @@ This option is available as of [version 9.0.0](https://github.com/getsentry/sent If set to `true`, the SDK adds the [W3C `traceparent` header](https://www.w3.org/TR/trace-context/) to outgoing HTTP requests. This header is attached in addition to the `sentry-trace` and `baggage` headers. -Set this option to `true` if your backend services are instrumented with e.g. OpenTelemetry or other W3C Trace Context compatible libraries and you want to continue traces from the client. +Set this option to `true` if your backend services are instrumented with a W3C Trace Context compatible library such as OpenTelemetry and you want to continue traces from the client. Use to control which requests the `traceparent` header is attached to.