MetricSpecificationV1 interface
指标规范版本 1。
属性
| aggregation |
指标聚合类型。 |
| category | 指标类别。 |
| dimensions | 指标维度,不是资源的默认维度。 |
| display |
要显示的指标的说明。 |
| display |
指标的显示名称。 |
| fill |
设置为 true 以用零填充空白。 |
| name | 指标的名称。 |
| resource |
资源名称重写。 |
| supported |
支持指标聚合类型。 |
| supported |
支持指标粒度。 |
| unit | 指标单位。 |
属性详细信息
aggregationType
指标聚合类型。
aggregationType?: string
属性值
string
category
指标类别。
category?: string
属性值
string
dimensions
displayDescription
要显示的指标的说明。
displayDescription?: string
属性值
string
displayName
指标的显示名称。
displayName?: string
属性值
string
fillGapWithZero
设置为 true 以用零填充空白。
fillGapWithZero?: boolean
属性值
boolean
name
指标的名称。
name?: string
属性值
string
resourceIdDimensionNameOverride
资源名称重写。
resourceIdDimensionNameOverride?: string
属性值
string
supportedAggregationTypes
支持指标聚合类型。
supportedAggregationTypes?: string[]
属性值
string[]
supportedTimeGrainTypes
支持指标粒度。
supportedTimeGrainTypes?: string[]
属性值
string[]
unit
指标单位。
unit?: string
属性值
string