OracleMetricsLevel Enumeration

OracleMetricsLevel defines which ODP.NET metrics levels—AppDomain, connection pool, and database instance—are collected and displayed. Apps can show metrics at any combination of these levels to match monitoring needs.

You can combine values with bitwise OR for flexible control. For example, to publish both AppDomain and connection pool metrics, set OracleMetricsLevel to 3.

Table 18-3 lists all the enumeration values with a description of each enumerated value.

Table 18-3 OracleMetricsLevel Enumeration Values

Member Name Value Description

None

0

Publishes no connection metrics

AppDomain

1

Publishes AppDomain level connection metrics

ConnectionPool

2

Publishes connection pool level metrics

DbInstance

4

Publishes database instance level connection metrics

All

7

Publishes all connection metric levels. This is the default value.

Requirements

Provider ODP.NET, Managed Driver ODP.NET Core

Assembly

Oracle.ManagedDataAccess.dll

Oracle.ManagedDataAccess.dll

Namespace

Oracle.ManagedDataAccess.Client

Oracle.ManagedDataAccess.Client

.NET Framework

See System Requirements

-

.NET (Core)

-

See System Requirements