diff --git a/docs/platforms/java/common/opentelemetry/setup/otlp.mdx b/docs/platforms/java/common/opentelemetry/setup/otlp.mdx index eeabeb045e614..82452dcc4fb13 100644 --- a/docs/platforms/java/common/opentelemetry/setup/otlp.mdx +++ b/docs/platforms/java/common/opentelemetry/setup/otlp.mdx @@ -120,4 +120,14 @@ public class SentryConfig { } ``` - \ No newline at end of file + + +## Sampling + +The Sentry propagator inherits the sampling decision from the incoming `sentry-trace` header. When no sampling flag is present (deferred decision), it defaults to sampled. + + + +If you need to control sampling for deferred traces, you have to implement a custom OpenTelemetry `Sampler`. + + \ No newline at end of file