Returns a composable sampler that respects the sampling decision of the parent span or falls back to the given sampler if it is a root span.
Returns a composable sampler that respects the sampling decision of the parent span or falls back to the given sampler if it is a root span.