AlwaysSampleSampler
class AlwaysSampleSampler implements SamplerInterface
This implementation of the SamplerInterface always returns false. Use this sampler to attempt to trace all requests. You may be throttled by the server.
Example:
use OpenCensus\Trace\Sampler\AlwaysSampleSampler;
$sampler = new AlwaysSampleSampler();
Methods
bool
shouldSample()
Returns true because we always want to sample.
Details
at line 38
bool
shouldSample()
Returns true because we always want to sample.