Condividi tramite


MetricDefinition Class

A database metric definition.

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

Constructor

MetricDefinition(**kwargs: Any)

Variables

Name Description
name

The name information for the metric.

primary_aggregation_type

The primary aggregation type defining how metric values are displayed. Known values are: "None", "Average", "Count", "Minimum", "Maximum", and "Total".

resource_uri
str

The resource uri of the database.

unit

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

metric_availabilities

The list of database metric availabilities for the metric.