Share via


MetricsOptions Class

Definition

Represents options for configuring the metrics system.

public ref class MetricsOptions
public class MetricsOptions
type MetricsOptions = class
Public Class MetricsOptions
Inheritance
MetricsOptions

Constructors

MetricsOptions()

Properties

Rules

Gets a list of instrument rules that identifies which metrics, instruments, and listeners are enabled.

Extension Methods

DisableMetrics(MetricsOptions, String, String, String, MeterScope)

Disables a specified Instrument for the given Meter and IMetricsListener.

DisableMetrics(MetricsOptions, String)

Disables all instruments for the given meter, for all registered listeners.

EnableMetrics(MetricsOptions, String, String, String, MeterScope)

Enables a specified Instrument for the given Meter and IMetricsListener.

EnableMetrics(MetricsOptions, String)

Enables all instruments for the given meter, for all registered listeners.

Applies to