MetricDefinition Class

The definition of a metric.

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

Inheritance
MetricDefinition

Constructor

MetricDefinition(**kwargs)

Variables

metric_availabilities
list[MetricAvailability]

The list of metric availabilities for the account.

primary_aggregation_type
str or PrimaryAggregationType

The primary aggregation type of the metric. Known values are: "None", "Average", "Total", "Minimum", "Maximum", "Last".

unit
str or UnitType

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

resource_uri
str

The resource uri of the database.

name
MetricName

The name information for the metric.