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

DiagnosticMetricSet interface

Class representing Diagnostic Metric information

Properties

endTime

End time of the period

name

Name of the metric

startTime

Start time of the period

timeGrain

Presented time grain. Supported grains at the moment are PT1M, PT1H, P1D

unit

Metric's unit

values

Collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain}

Property Details

endTime

End time of the period

endTime?: Date

Property Value

Date

name

Name of the metric

name?: string

Property Value

string

startTime

Start time of the period

startTime?: Date

Property Value

Date

timeGrain

Presented time grain. Supported grains at the moment are PT1M, PT1H, P1D

timeGrain?: string

Property Value

string

unit

Metric's unit

unit?: string

Property Value

string

values

Collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain}

values?: DiagnosticMetricSample[]

Property Value