OpenTelemetryRealtimeClient.EnableSensitiveData Property

Definition

Gets or sets a value indicating whether potentially sensitive information should be included in telemetry.

public:
 property bool EnableSensitiveData { bool get(); void set(bool value); };
public bool EnableSensitiveData { get; set; }
member this.EnableSensitiveData : bool with get, set
Public Property EnableSensitiveData As Boolean

Property Value

true if potentially sensitive information should be included in telemetry; false if telemetry shouldn't include raw inputs and outputs. The default value is false, unless the OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT environment variable is set to "true" (case-insensitive).

Applies to