PartitionMetric Class

The metric values for a single partition.

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

Inheritance
azure.mgmt.cosmosdb.models._models_py3.Metric
PartitionMetric

Constructor

PartitionMetric(**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.

partition_id
str

The partition id (GUID identifier) of the metric values.

partition_key_range_id
str

The partition key range id (integer identifier) of the metric values.