MetricSpecification interface
作的指标规范。
属性
| aggregation |
指标聚合类型。 可能的值包括:“Average”、“Count”、“Total”。 |
| dimensions | 指标的维度 |
| display |
显示指标规范的说明。 |
| display |
指标规范的显示名称。 |
| fill |
用于指定是否用零填充空白的属性。 |
| internal |
内部指标名称。 |
| lock |
指标锁聚合类型。 |
| name | 指标规范的名称。 |
| supported |
指标支持的聚合类型。 |
| supported |
指标支持的时间粒度类型。 |
| unit | 指标单位。 可能的值包括:“Bytes”、“Count”、“毫秒”。 |
属性详细信息
aggregationType
指标聚合类型。 可能的值包括:“Average”、“Count”、“Total”。
aggregationType?: string
属性值
string
dimensions
displayDescription
显示指标规范的说明。
displayDescription?: string
属性值
string
displayName
指标规范的显示名称。
displayName?: string
属性值
string
fillGapWithZero
用于指定是否用零填充空白的属性。
fillGapWithZero?: boolean
属性值
boolean
internalMetricName
内部指标名称。
internalMetricName?: string
属性值
string
lockAggregationType
指标锁聚合类型。
lockAggregationType?: string
属性值
string
name
指标规范的名称。
name?: string
属性值
string
supportedAggregationTypes
指标支持的聚合类型。
supportedAggregationTypes?: string[]
属性值
string[]
supportedTimeGrainTypes
指标支持的时间粒度类型。
supportedTimeGrainTypes?: string[]
属性值
string[]
unit
指标单位。 可能的值包括:“Bytes”、“Count”、“毫秒”。
unit?: string
属性值
string