MetricSpecification interface
Azure 监视指标规范
属性
| aggregation |
仅为此字段提供一个值。 有效值:平均值、最小值、最大值、总计、计数。 |
| category | 指标所属的指标类别的名称。 指标只能属于单个类别。 |
| dimensions | 指标的维度 |
| display |
指标的本地化友好说明 |
| display |
指标的本地化友好显示名称 |
| fill |
自选。 如果设置为 true,则会在未发出/发布任何指标的时间段内返回零。 |
| name | 指标的名称 |
| source |
MDM 命名空间的名称。 自选。 |
| 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
sourceMdmNamespace
MDM 命名空间的名称。 自选。
sourceMdmNamespace?: string
属性值
string
supportedAggregationTypes
支持的聚合类型
supportedAggregationTypes?: string[]
属性值
string[]
supportedTimeGrainTypes
支持的时间粒度类型
supportedTimeGrainTypes?: string[]
属性值
string[]
unit
指标有意义的单位
unit?: string
属性值
string