Share via


AzureOpenAISettings.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.

Remarks

Telemetry is recorded by Microsoft.Extensions.AI.

Applies to