OpenCensus\Trace\Sampler
Classes
This implementation of the SamplerInterface always returns false. Use this
sampler to attempt to trace all requests. You may be throttled by the server.
This implementation of the SamplerInterface wraps any number of child
SamplerInterface implementations. All provided implementations must return
true in order for the request to be sampled.
This implementation of the SamplerInterface always returns false. Use this
sampler to disable all tracing.
This implementation of the SamplerInterface uses a pseudo-random number generator
to sample a percentage of requests.
This implementation of the SamplerInterface uses a cache to limit sampling to
the a certain number of queries per second. It requires a PSR-6 cache implementation.
Interfaces
This interface lets us customize the sampling logic.