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

MetricSpecification interface

Azure 监视指标规范

属性

aggregationType

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

dimensions

指标的维度

displayDescription

指标的本地化友好说明

displayName

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

fillGapWithZero

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

internalMetricName

内部指标名称。

name

指标的名称

unit

指标有意义的单位

属性详细信息

aggregationType

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

aggregationType?: string

属性值

string

dimensions

指标的维度

dimensions?: MetricDimension[]

属性值

displayDescription

指标的本地化友好说明

displayDescription?: string

属性值

string

displayName

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

displayName?: string

属性值

string

fillGapWithZero

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

fillGapWithZero?: boolean

属性值

boolean

internalMetricName

内部指标名称。

internalMetricName?: string

属性值

string

name

指标的名称

name?: string

属性值

string

unit

指标有意义的单位

unit?: string

属性值

string