Skip to content

Commit

Permalink
add explanation about format mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaMoelans committed Oct 8, 2024
1 parent bc477ac commit 71c7489
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ To create a transaction as a continuation of a trace retrieved from an upstream
```

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.
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 comments on commit 71c7489

Please sign in to comment.