OpenTelemetry.Trace.ParentBasedSampler
Sampler implementation which by default will take a sample if parent Activity is sampled.
Otherwise, samples root traces according to the specified root sampler.
namespace OpenTelemetry.Trace
{
public sealed class ParentBasedSampler : Sampler
{
public ParentBasedSampler(Sampler rootSampler);
public ParentBasedSampler(Sampler rootSampler, Sampler remoteParentSampled = null, Sampler remoteParentNotSampled = null, Sampler localParentSampled = null, Sampler localParentNotSampled = null);
}
}