Checks whether span needs to be created and tracked.
Parent Context which may contain a span.
of the span to be created. It can be different from the traceId in the SpanContext. Typically in situations when the span to be created starts a new trace.
Returns the sampler name or short description with the configuration.
Sampler that samples a given fraction of traces based of trace id deterministically.