Udostępnij za pośrednictwem


KafkaProducerSettings.DisableMetrics Property

Definition

Gets or sets a boolean value that indicates whether the OpenTelemetry metrics are enabled or not.

public bool DisableMetrics { get; set; }
member this.DisableMetrics : bool with get, set
Public Property DisableMetrics As Boolean

Property Value

The default value is false.

Applies to