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

DiagnosticMetricSet Class

Definition

Class representing Diagnostic Metric information

public class DiagnosticMetricSet
type DiagnosticMetricSet = class
Public Class DiagnosticMetricSet
Inheritance
DiagnosticMetricSet

Constructors

DiagnosticMetricSet()

Initializes a new instance of the DiagnosticMetricSet class.

DiagnosticMetricSet(String, String, Nullable<DateTime>, Nullable<DateTime>, String, IList<DiagnosticMetricSample>)

Initializes a new instance of the DiagnosticMetricSet class.

Properties

EndTime

Gets or sets end time of the period

Name

Gets or sets name of the metric

StartTime

Gets or sets start time of the period

TimeGrain

Gets or sets presented time grain. Supported grains at the moment are PT1M, PT1H, P1D

Unit

Gets or sets metric's unit

Values

Gets or sets collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain}

Applies to