The sampler to use. This is intended to be used for testing purposes.
Returns true if sampling is enabled. If there are no sampling configurations, then sampling can be skipped.
Optional
config: Maybe<SamplingConfig>Returns a sampling result for a span.
The span to sample.
Custom sampler that uses a sampling configuration to determine if a span should be sampled.