Share via


MetricDefinitionOutput interface

Metric definition

Properties

description

The metric description

dimensions

List of dimensions

metricAvailabilities

Metric availability specifies the time grain (aggregation interval or frequency).

name

The metric name

namespace

The namespace the metric belongs to.

primaryAggregationType

The primary aggregation type value defining how to use the values for display.

supportedAggregationTypes

The collection of what all aggregation types are supported.

unit

The unit of the metric.

Property Details

description

The metric description

description?: string

Property Value

string

dimensions

List of dimensions

dimensions?: NameAndDescOutput[]

Property Value

metricAvailabilities

Metric availability specifies the time grain (aggregation interval or frequency).

metricAvailabilities?: MetricAvailabilityOutput[]

Property Value

name

The metric name

name?: string

Property Value

string

namespace

The namespace the metric belongs to.

namespace?: string

Property Value

string

primaryAggregationType

The primary aggregation type value defining how to use the values for display.

primaryAggregationType?: "Average" | "Count" | "None" | "Total" | "Percentile90" | "Percentile95" | "Percentile99"

Property Value

"Average" | "Count" | "None" | "Total" | "Percentile90" | "Percentile95" | "Percentile99"

supportedAggregationTypes

The collection of what all aggregation types are supported.

supportedAggregationTypes?: string[]

Property Value

string[]

unit

The unit of the metric.

unit?: "Count" | "NotSpecified" | "Percent" | "Seconds" | "Milliseconds" | "Bytes" | "BytesPerSecond" | "CountPerSecond"

Property Value

"Count" | "NotSpecified" | "Percent" | "Seconds" | "Milliseconds" | "Bytes" | "BytesPerSecond" | "CountPerSecond"