共用方式為


MetricCounter Class

Definition

The metric counter

public class MetricCounter
type MetricCounter = class
Public Class MetricCounter
Inheritance
MetricCounter

Constructors

MetricCounter()

Initializes a new instance of the MetricCounter class.

MetricCounter(String, String, IList<MetricDimension>, IList<MetricDimension>)

Initializes a new instance of the MetricCounter class.

Properties

AdditionalDimensions

Gets or sets the additional dimensions to be added to metric.

DimensionFilter

Gets or sets the dimension filter.

Instance

Gets or sets the instance from which counter should be collected.

Name

Gets or sets the counter name.

Methods

Validate()

Validate the object.

Applies to