MetricsLevel

This property sets the OracleMetricsLevel value to choose which metrics levels ODP.NET publishes.

Declaration

// C#
public static OracleMetricsLevel MetricsLevel { get; set; }

Remarks

The OracleMetricsLevel enumeration controls which ODP.NET metrics levels—AppDomain, connection pool, and database instance—are published. You can filter to publish any combination, but by default, all levels are enabled.

This property can be enabled or disabled anytime during runtime. Once enabled, it will start output of metrics for new and existing connections.