MetricSpecificationV1 interface

Metric specification version 1.

Properties

aggregationType

Metric aggregation type.

category

Metric category.

dimensions

Metric dimensions, other than default dimension which is resource.

displayDescription

Description of the metric to be displayed.

displayName

Display name of the metric.

fillGapWithZero

Set true to fill the gaps with zero.

name

Name of the metric.

resourceIdDimensionNameOverride

Resource name override.

supportedAggregationTypes

Support metric aggregation type.

supportedTimeGrainTypes

Support granularity of metrics.

unit

Metric units.

Property Details

aggregationType

Metric aggregation type.

aggregationType?: string

Property Value

string

category

Metric category.

category?: string

Property Value

string

dimensions

Metric dimensions, other than default dimension which is resource.

dimensions?: MetricDimensionV1[]

Property Value

displayDescription

Description of the metric to be displayed.

displayDescription?: string

Property Value

string

displayName

Display name of the metric.

displayName?: string

Property Value

string

fillGapWithZero

Set true to fill the gaps with zero.

fillGapWithZero?: boolean

Property Value

boolean

name

Name of the metric.

name?: string

Property Value

string

resourceIdDimensionNameOverride

Resource name override.

resourceIdDimensionNameOverride?: string

Property Value

string

supportedAggregationTypes

Support metric aggregation type.

supportedAggregationTypes?: string[]

Property Value

string[]

supportedTimeGrainTypes

Support granularity of metrics.

supportedTimeGrainTypes?: string[]

Property Value

string[]

unit

Metric units.

unit?: string

Property Value

string