Skip to content

Commit b578909

Browse files
committed
Correcting span sampling language
1 parent d12a72f commit b578909

File tree

1 file changed

+2
-1
lines changed
  • docs/platforms/javascript/common/tracing/configure-sampling

1 file changed

+2
-1
lines changed

docs/platforms/javascript/common/tracing/configure-sampling/index.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ When multiple sampling mechanisms could apply, Sentry follows this order of prec
126126
- If `tracesSampler` is defined, its decision is used. Although the `tracesSampler` can override the parent sampling decision, most users will want to ensure their `tracesSampler` respects the parent sampling decision.
127127
- If no `tracesSampler` is defined, but there is a parent sampling decision from an incoming distributed trace, we use the parent sampling decision
128128
- If neither of the above, `tracesSampleRate` is used
129-
- If none of the above are set, no transactions are sampled. This is equivalent to setting `tracesSampleRate` to `0.0`.
129+
- If `tracesSampleRate` is set to 0, no spans will be sampled, and no downstream spans will be sampled either since they inherit the parent sampling decision
130+
- If none of the above are set, no transactions are sampled and tracing will be disabled
130131
131132
## Conclusion
132133

0 commit comments

Comments
 (0)