NeverSampleSampler
class NeverSampleSampler implements SamplerInterface
This implementation of the SamplerInterface always returns false. Use this sampler to disable all tracing.
Example:
use OpenCensus\Trace\Sampler\NeverSampleSampler;
$sampler = new NeverSampleSampler();
Methods
bool
shouldSample()
Returns false because we never want to sample.
Details
at line 38
bool
shouldSample()
Returns false because we never want to sample.