MetricValue Class

Represents a metric value.

All required parameters must be populated in order to send to Azure.

Inheritance
MetricValue

Constructor

MetricValue(*, time_stamp: datetime.datetime, average: Optional[float] = None, minimum: Optional[float] = None, maximum: Optional[float] = None, total: Optional[float] = None, count: Optional[int] = None, **kwargs)

Variables

time_stamp
datetime

Required. the timestamp for the metric value in ISO 8601 format.

average
float

the average value in the time range.

minimum
float

the least value in the time range.

maximum
float

the greatest value in the time range.

total
float

the sum of all of the values in the time range.

count
<xref:long>

the number of samples in the time range. Can be used to determine the number of values that contributed to the average value.