Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion docs/platforms/java/common/opentelemetry/setup/otlp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,14 @@ public class SentryConfig {
}
```

</PlatformSection>
</PlatformSection>

## 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.

<Alert level="warning" title="Deferred Sampling">

If you need to control sampling for deferred traces, you have to implement a custom OpenTelemetry `Sampler`.

</Alert>
Loading