Delen via


AzureMonitorExporterOptions.SamplingRatio Property

Definition

Gets or sets the ratio of telemetry items to be sampled. The value must be between 0.0F and 1.0F, inclusive. For example, specifying 0.4 means that 40% of traces are sampled and 60% are dropped. The default value is 1.0F, indicating that all telemetry items are sampled.

public float SamplingRatio { get; set; }
member this.SamplingRatio : single with get, set
Public Property SamplingRatio As Single

Property Value

Applies to