MetricDefinitionOutput interface
指标定义
属性
| description | 指标说明 |
| dimensions | 维度列表 |
| metric |
指标可用性指定时间粒度(聚合间隔或频率)。 |
| name | 指标名称 |
| namespace | 指标所属的命名空间。 |
| primary |
定义如何使用值显示的主要聚合类型值。 |
| supported |
支持所有聚合类型的集合。 |
| unit | 指标的单位。 |
属性详细信息
description
指标说明
description?: string
属性值
string
dimensions
metricAvailabilities
指标可用性指定时间粒度(聚合间隔或频率)。
metricAvailabilities?: MetricAvailabilityOutput[]
属性值
name
指标名称
name?: string
属性值
string
namespace
指标所属的命名空间。
namespace?: string
属性值
string
primaryAggregationType
定义如何使用值显示的主要聚合类型值。
primaryAggregationType?: "Average" | "Count" | "None" | "Total" | "Percentile90" | "Percentile95" | "Percentile99"
属性值
"Average" | "Count" | "None" | "Total" | "Percentile90" | "Percentile95" | "Percentile99"
supportedAggregationTypes
支持所有聚合类型的集合。
supportedAggregationTypes?: string[]
属性值
string[]
unit
指标的单位。
unit?: "Count" | "NotSpecified" | "Percent" | "Seconds" | "Milliseconds" | "Bytes" | "BytesPerSecond" | "CountPerSecond"
属性值
"Count" | "NotSpecified" | "Percent" | "Seconds" | "Milliseconds" | "Bytes" | "BytesPerSecond" | "CountPerSecond"