MetricSpecification Class

Definition

Specifications of the Metrics for Azure Monitoring.

public class MetricSpecification
type MetricSpecification = class
Public Class MetricSpecification
Inheritance
MetricSpecification

Constructors

Name Description
MetricSpecification()

Initializes a new instance of the MetricSpecification class.

MetricSpecification(String, String, String, String, String, String, String, IList<Dimension>)

Initializes a new instance of the MetricSpecification class.

Properties

Name Description
AggregationType

Gets or sets only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.

Category

Gets or sets the name of the metric category that the metric belongs to. A metric can only belong to a single category.

Dimensions

Gets or sets the dimensions of the metrics.

DisplayDescription

Gets or sets localized friendly description of the metric.

DisplayName

Gets or sets localized friendly display name of the metric.

FillGapWithZero

Gets or sets optional. If set to true, then zero will be returned for time duration where no metric is emitted/published. Ex. a metric that returns the number of times a particular error code was emitted. The error code may not appear often, instead of the RP publishing 0, Shoebox can auto fill in 0s for time periods where nothing was emitted.

Name

Gets or sets name of the metric.

Unit

Gets or sets the unit that makes sense for the metric.

Applies to