MetricCriteriaResponse

data class MetricCriteriaResponse(val criterionType: String, val dimensions: List<MetricDimensionResponse>? = null, val metricName: String, val metricNamespace: String? = null, val name: String, val operator: String, val skipMetricValidation: Boolean? = null, val threshold: Double, val timeAggregation: String)

Criterion to filter metrics.

Constructors

Link copied to clipboard
constructor(criterionType: String, dimensions: List<MetricDimensionResponse>? = null, metricName: String, metricNamespace: String? = null, name: String, operator: String, skipMetricValidation: Boolean? = null, threshold: Double, timeAggregation: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Specifies the type of threshold criteria Expected value is 'StaticThresholdCriterion'.

Link copied to clipboard

List of dimension conditions.

Link copied to clipboard

Name of the metric.

Link copied to clipboard
val metricNamespace: String? = null

Namespace of the metric.

Link copied to clipboard

Name of the criteria.

Link copied to clipboard

the criteria operator.

Link copied to clipboard

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

Link copied to clipboard

the criteria threshold value that activates the alert.

Link copied to clipboard

the criteria time aggregation types.