Skip to content

Commit 25f98cf

Browse files
committed
fix(develop): clarify trace context's client_sample_rate
When reading the Trace Context docs, I assumed that `client_sample_rate` (like all the other fields) was expected to be set by the client. Instead, this field is generated in Relay. If a client sets this field, it will be ignored and overwritten. Added a note to the docs for this field to clarify how it is meant to be used.
1 parent 34ab23d commit 25f98cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

develop-docs/sdk/data-model/event-payloads/contexts.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ Additional information that allows Sentry to connect multiple transactions, span
682682

683683
`client_sample_rate`
684684

685-
: _Optional_. The client-side sample rate.
685+
: _Optional_. The client-side sample rate. This field will be populated by relay. Incoming values are ignored.
686686

687687
- Example: `0.1`
688688

0 commit comments

Comments
 (0)