MetricSpecification interface

Specifications of the Metrics for Azure Monitoring

Properties

aggregationType

Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.

category

Name of the metric category that the metric belongs to. A metric can only belong to a single category.

dimensions

Dimensions of the metric

displayDescription

Localized friendly description of the metric

displayName

Localized friendly display name of the metric

fillGapWithZero

Optional. If set to true, then zero will be returned for time duration where no metric is emitted/published.

name

Name of the metric

sourceMdmNamespace

Name of the MDM namespace. Optional.

supportedAggregationTypes

Supported aggregation types

supportedTimeGrainTypes

Supported time grain types

unit

Unit that makes sense for the metric

Property Details

aggregationType

Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.

aggregationType?: string

Property Value

string

category

Name of the metric category that the metric belongs to. A metric can only belong to a single category.

category?: string

Property Value

string

dimensions

Dimensions of the metric

dimensions?: MetricDimension[]

Property Value

displayDescription

Localized friendly description of the metric

displayDescription?: string

Property Value

string

displayName

Localized friendly display name of the metric

displayName?: string

Property Value

string

fillGapWithZero

Optional. If set to true, then zero will be returned for time duration where no metric is emitted/published.

fillGapWithZero?: boolean

Property Value

boolean

name

Name of the metric

name?: string

Property Value

string

sourceMdmNamespace

Name of the MDM namespace. Optional.

sourceMdmNamespace?: string

Property Value

string

supportedAggregationTypes

Supported aggregation types

supportedAggregationTypes?: string[]

Property Value

string[]

supportedTimeGrainTypes

Supported time grain types

supportedTimeGrainTypes?: string[]

Property Value

string[]

unit

Unit that makes sense for the metric

unit?: string

Property Value

string