Metric Class

Metric data.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.cosmosdb._serialization.Model
Metric

Constructor

Metric(**kwargs: Any)

Variables

Name Description
start_time

The start time for the metric (ISO-8601 format).

end_time

The end time for the metric (ISO-8601 format).

time_grain
str

The time grain to be used to summarize the metric values.

unit

The unit of the metric. Known values are: "Count", "Bytes", "Seconds", "Percent", "CountPerSecond", "BytesPerSecond", and "Milliseconds".

name

The name information for the metric.

metric_values

The metric values for the specified time window and timestep.