你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MetricSpecification interface

Azure 监视指标规范

属性

aggregationType

仅为此字段提供一个值。 有效值:平均值、最小值、最大值、总计、计数。

category

指标所属的指标类别的名称。 指标只能属于单个类别。

dimensions

指标的维度

displayDescription

指标的本地化友好说明

displayName

指标的本地化友好显示名称

fillGapWithZero

自选。 如果设置为 true,则会在未发出/发布任何指标的时间段内返回零。

name

指标的名称

sourceMdmNamespace

MDM 命名空间的名称。 自选。

supportedAggregationTypes

支持的聚合类型

supportedTimeGrainTypes

支持的时间粒度类型

unit

指标有意义的单位

属性详细信息

aggregationType

仅为此字段提供一个值。 有效值:平均值、最小值、最大值、总计、计数。

aggregationType?: string

属性值

string

category

指标所属的指标类别的名称。 指标只能属于单个类别。

category?: string

属性值

string

dimensions

指标的维度

dimensions?: MetricDimension[]

属性值

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