Sdílet prostřednictvím


AzureOpenAISettings.DisableTracing Property

Definition

Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.

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

Property Value

The default value is false.

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