OpenTelemetryTracing

This property specifies whether to dynamically enable or disable ODP.NET OpenTelemetry tracing instrumentation at the OracleDataSource level.

Declaration

// C#
public  bool OpenTelemetryTracing { get; set; }

Property Type

Bool

Remarks

Default value is true.

To enable tracing only for the OracleDataSource, but not the overall process, set this property to true and OracleConfiguration.OpenTelemetryTracing to false.

This property can be changed at runtime to turn on and off tracing. When the value is changed, it only affects subsequent opened connections. Connections already opened continue to use their existing tracing values.