Aracılığıyla paylaş


MetricsOptions Class

Definition

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

A list of InstrumentRule's that identify which metrics, instruments, and listeners are enabled.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Extension Methods

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

Disables a specified Instrument for the given Meter and IMetricsListener.

DisableMetrics(MetricsOptions, String)

Disables all Instrument's for the given meter, for all registered IMetricsListener's.

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

Enables a specified Instrument for the given Meter and IMetricsListener.

EnableMetrics(MetricsOptions, String)

Enables all Instrument's for the given meter, for all registered IMetricsListener's.

Applies to