Sampler
Table of Contents
Classes
- AlwaysOffSampler
- This implementation of the SamplerInterface always skips record.
- AlwaysOnSampler
- This implementation of the SamplerInterface always records.
- AlwaysRecordSampler
- This implementation of the SamplerInterface converts {@link \OpenTelemetry\SDK\Trace\SamplingResult::DROP}
decisions from the root sampler into {@link \OpenTelemetry\SDK\Trace\SamplingResult::RECORD_ONLY}
decisions, allowing processors to see all spans without sending them to exporters.
- ParentBased
- This implementation of the SamplerInterface that respects parent context's sampling decision
and delegates for the root span.
- TraceIdRatioBasedSampler
- This implementation of the SamplerInterface records with given probability.