Op Englesch liesen

Deelen iwwer


MetricsOptions Class

Definition

Represents options for configuring the metrics system.

C#
public class MetricsOptions
Inheritance
MetricsOptions

Constructors

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

Produkt Versiounen
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)