OpenTelemetry.Trace.SamplingParameters
Sampling parameters passed to a Sampler for it to make a sampling decision.
Gets the kind of span/activity to be created.
Gets the name to be given to the span/activity.
Gets the parent activity context.
Gets the tags to be associated to the span/activity to be created.
These are the tags provided at the time of Activity creation.
Gets the trace ID of parent activity or a new generated one for root span/activity.
public SamplingParameters(ActivityContext parentContext, ActivityTraceId traceId, string name, ActivityKind kind, IEnumerable<KeyValuePair<string, object>> tags = null, IEnumerable<ActivityLink> links = null)
Initializes a new instance of the SamplingParameters struct.