DiagnosticMetricSet Class

Class representing Diagnostic Metric information.

Constructor

DiagnosticMetricSet(*args: Any, **kwargs: Any)

Variables

Name Description
name
str

Name of the metric.

unit
str

Metric's unit.

start_time

Start time of the period.

end_time

End time of the period.

time_grain
str

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

values_property

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

Attributes

end_time

End time of the period.

end_time: datetime | None

name

Name of the metric.

name: str | None

start_time

Start time of the period.

start_time: datetime | None

time_grain

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

time_grain: str | None

unit

Metric's unit.

unit: str | None

values_property

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

values_property: list['_models.DiagnosticMetricSample'] | None