Sdílet prostřednictvím


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

Remarks

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 the "OPENAI_EXPERIMENTAL_ENABLE_OPEN_TELEMETRY" environment variable to "true".

Applies to