AlwaysRecordSampler.php
Table of Contents
Classes
- 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.