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)

Variables

start_time
datetime

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

end_time
datetime

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

time_grain
str

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

unit
str or UnitType

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

name
MetricName

The name information for the metric.

metric_values
list[MetricValue]

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.