MetricsOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
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 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
.NET