Skip to content

Commit f8ca46e

Browse files
mjqcoolguyzone
andauthored
fix(develop): clarify trace context's client_sample_rate (#13174)
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. Co-authored-by: Alex Krawiec <[email protected]>
1 parent cd10012 commit f8ca46e

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)