Sampler
Interfaces
- Sampler
- Interface for sampling decisions.
Classes
- AlwaysOffSampler
- Sampler that never records or exports any spans.
- AlwaysOnSampler
- Sampler that always records and exports all spans.
- AttributeMatchingSampler
- Drops spans whose start-time attributes match an {@see AttributeFilter}, and
defers every other span to a delegate sampler.
- ParentBasedSampler
- Sampler that respects the parent span's sampling decision.
- SamplingResult
- Result of a sampling decision.
- SuppressingSampler
- Enforces OpenTelemetry tracing suppression as a Sampler: when the parent context carries the
suppression bit, the span is dropped (non-recording, never exported); otherwise the decision is
deferred to the wrapped sampler.
- TraceIdRatioBasedSampler
- Sampler that samples a configurable percentage of traces.
Enums
- SamplingDecision
- Sampling decision made by a Sampler.