Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MetricCriteria

Package version

Criterion to filter metrics.

Hierarchy

Indexable

[property: string]: any

Describes unknown properties. The value of an unknown property can be of "any" type.

Index

Properties

criterionType

criterionType: "StaticThresholdCriterion"

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

Optional dimensions

dimensions: MetricDimension[]

List of dimension conditions.

metricName

metricName: string

Name of the metric.

Optional metricNamespace

metricNamespace: undefined | string

Namespace of the metric.

name

name: string

Name of the criteria.

operator

operator: Operator

the criteria operator.

Optional skipMetricValidation

skipMetricValidation: undefined | false | true

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

threshold

threshold: number

the criteria threshold value that activates the alert.

timeAggregation

timeAggregation: AggregationTypeEnum

the criteria time aggregation types.

Generated using TypeDoc