OpenTelemetryTracing

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

Declaration

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

Property Type

Bool

Remarks

Default value is true.

To enable tracing only for the connection, 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 takes effect immediately. For example, an app can open a connection with tracing on and execute a SQL statement. It can then turn off tracing for the connection's next statement execution and then turn it on again all using the same connection session.