OpenTelemetry.Trace.Sampler
Controls the number of samples of traces collected and sent to the backend.
Gets or sets the sampler description.
protected Sampler()
Initializes a new instance of the Sampler class.
public abstract SamplingResult ShouldSample(SamplingParameters& modreq(System.Runtime.InteropServices.InAttribute) samplingParameters)