Skip to content

Commit 89e1656

Browse files
author
Luca Forstner
committed
.
1 parent 7b4e60b commit 89e1656

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

platform-includes/performance/sampling-function-intro/javascript.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ To use the sampling function, set the <PlatformIdentifier name="traces-sampler"
33
<PlatformContent includePath="performance/traces-sampler-as-sampler" />
44

55
For convenience, the function can also return a boolean. Returning `true` is equivalent to returning `1`, and will guarantee the transaction will be sent to Sentry. Returning `false` is equivalent to returning `0` and will guarantee the transaction will **not** be sent to Sentry.
6+
Note that sampling decisions will be inherited for downstream services if you have set up distributed tracing.

0 commit comments

Comments
 (0)