EnableConnectionLevelAttributes
This property indicates whether or not to instrument connection level attributes, such as peer.service, db.name, password less connection string, db.user and so on.
Declaration
// C#
public bool EnableConnectionLevelAttributes { get; set; }Return Value
A bool.
Remarks
Default value is false.
When enabled, the db.odp.connection.id OpenTelemetry attribute publishes a unique identifier for each connection. This attribute can be used to diagnose and trace a specific connection's behavior. The identifier can be prefixed with an ODP.NET connection ID when the ConnectionIdPrefix property in OracleConnection or OracleCommand is set to an ID value.