class ParentBasedSampler implements Samplerimport { ParentBasedSampler } from "https://deno.land/x/live@1.48.5/deps.ts"; A composite sampler that either respects the parent span's sampling decision or delegates to delegateSampler for root spans. ConstructorsnewParentBasedSampler(config: ParentBasedSamplerConfig)Propertiesprivate_localParentNotSampledprivate_localParentSampledprivate_remoteParentNotSampledprivate_remoteParentSampledprivate_rootMethodsshouldSample(context: Context,traceId: string,spanName: string,spanKind: SpanKind,attributes: SpanAttributes,links: Link[],): SamplingResulttoString(): string