Sdílet prostřednictvím


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

Remarks

Azure AI OpenAI telemetry support is experimental, the shape of traces may change in the future without notice. It can be enabled by setting "OpenAI.Experimental.EnableOpenTelemetry" AppContext switch to true. Or by setting "OPENAI_EXPERIMENTAL_ENABLE_OPEN_TELEMETRY" environment variable to "true".

Applies to