OracleDataProviderInstrumentationOptions Properties

OracleDataProviderInstrumentationOptions properties are listed in Table 18-1.

Table 18-1 OracleDataProviderInstrumentationOptions Properties

Method Description

AddDBInfoToDisplayName

Indicates whether or not to record Host, Port and database name with Displayname

EnableConnectionLevelAttributes

Indicates whether or not to instrument connection level attributes, such as peer.service, db.name, password less connection string, db.user and so on

EnableDBRoundTripTracing

Enables instrumentation of database round-trips for the public APIs such as OracleCommand.ExecuteNonQuery(), OracleDataReader.Read(), OracleDataAdapter.Fill and so on

EnableOpenCloseTracing

Indicates whether to record database soft and hard connection/disconnection instrumentation or not

EnableSqlIdTracing

Enables SQL identifier instrumentation of each executed SQL statement

InstrumentOracleDataReaderRead

Indicates whether or not to instrument OracleDataReader Read method calls

RecordException

Indicates whether or not to record exception details in instrumentation

RequireApplicationRootSpanCreation

Controls whether ODP.NET instruments only those operations that are associated with root spans created by the application or not

SetDbStatementForStoredProcedure

Indicates whether or not to instrument stored procedure and function names when the command type is for a stored procedure (CommandType.StoredProcedure)

SetDbStatementForText

Indicates whether or not to instrument SQL queries when command type is of Text type (CommandType.Text)