Skip to content

Commit 71c7489

Browse files
committed
add explanation about format mismatch
1 parent bc477ac commit 71c7489

File tree

1 file changed

+1
-1
lines changed
  • platform-includes/distributed-tracing/custom-instrumentation

1 file changed

+1
-1
lines changed

platform-includes/distributed-tracing/custom-instrumentation/native.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ To create a transaction as a continuation of a trace retrieved from an upstream
4141
4242
```
4343

44-
The format of the `sentry-trace` header should follow the one defined in [the telemetry docs](https://develop.sentry.dev/sdk/telemetry/traces/#header-sentry-trace). It should consist of a 32 character hexadecimal string for the `traceId`, followed by a 16 character hexadecimal string for the `spanId` and an optional single character for the `sampled` flag.
44+
The format of the `sentry-trace` header should follow the one defined in [the telemetry docs](https://develop.sentry.dev/sdk/telemetry/traces/#header-sentry-trace). It should consist of a 32 character hexadecimal string for the `traceId`, followed by a 16 character hexadecimal string for the `spanId` and an optional single character for the `sampled` flag. If the given string doesn't match this format, the update is ignored and the values in the transaction context will remain unchanged.

0 commit comments

Comments
 (0)