OpenTelemetryRealtimeClient.EnableSensitiveData Propriedade

Definição

Obtém ou define um valor que indica se informações potencialmente confidenciais devem ser incluídas na telemetria.

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

Valor da propriedade

true se informações potencialmente confidenciais devem ser incluídas na telemetria; false se a telemetria não deve incluir entradas e saídas brutas. O valor padrão é false, a menos que a OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT variável de ambiente seja definida como "true" (não diferencia maiúsculas de minúsculas).

Aplica-se a