DiagnosticMetricSample Class

Class representing Diagnostic Metric.

Inheritance
azure.mgmt.web._serialization.Model
DiagnosticMetricSample

Constructor

DiagnosticMetricSample(*, timestamp: datetime | None = None, role_instance: str | None = None, total: float | None = None, maximum: float | None = None, minimum: float | None = None, is_aggregated: bool | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
timestamp

Time at which metric is measured.

role_instance
str

Role Instance. Null if this counter is not per instance This is returned and should be whichever instance name we desire to be returned i.e. CPU and Memory return RDWORKERNAME (LargeDed..._IN_0) where RDWORKERNAME is Machine name below and RoleInstance name in parenthesis.

total

Total value of the metric. If multiple measurements are made this will have sum of all.

maximum

Maximum of the metric sampled during the time period.

minimum

Minimum of the metric sampled during the time period.

is_aggregated

Whether the values are aggregates across all workers or not.

Variables

Name Description
timestamp

Time at which metric is measured.

role_instance
str

Role Instance. Null if this counter is not per instance This is returned and should be whichever instance name we desire to be returned i.e. CPU and Memory return RDWORKERNAME (LargeDed..._IN_0) where RDWORKERNAME is Machine name below and RoleInstance name in parenthesis.

total

Total value of the metric. If multiple measurements are made this will have sum of all.

maximum

Maximum of the metric sampled during the time period.

minimum

Minimum of the metric sampled during the time period.

is_aggregated

Whether the values are aggregates across all workers or not.