MultiMetricCriteria interface

The types of conditions for a multi resource alert.

Properties

criterionType

Polymorphic discriminator, which specifies the different types this object can be

dimensions

List of dimension conditions.

metricName

Name of the metric.

metricNamespace

Namespace of the metric.

name

Name of the criteria.

skipMetricValidation

Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.

timeAggregation

the criteria time aggregation types.

Property Details

criterionType

Polymorphic discriminator, which specifies the different types this object can be

criterionType: "StaticThresholdCriterion" | "DynamicThresholdCriterion"

Property Value

"StaticThresholdCriterion" | "DynamicThresholdCriterion"

dimensions

List of dimension conditions.

dimensions?: MetricDimension[]

Property Value

metricName

Name of the metric.

metricName: string

Property Value

string

metricNamespace

Namespace of the metric.

metricNamespace?: string

Property Value

string

name

Name of the criteria.

name: string

Property Value

string

skipMetricValidation

Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.

skipMetricValidation?: boolean

Property Value

boolean

timeAggregation

the criteria time aggregation types.

timeAggregation: string

Property Value

string