DynamicMetricCriteriaResponse

data class DynamicMetricCriteriaResponse(val alertSensitivity: String, val criterionType: String, val dimensions: List<MetricDimensionResponse>? = null, val failingPeriods: DynamicThresholdFailingPeriodsResponse, val ignoreDataBefore: String? = null, val metricName: String, val metricNamespace: String? = null, val name: String, val operator: String, val skipMetricValidation: Boolean? = null, val timeAggregation: String)

Criterion for dynamic threshold.

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern.

Link copied to clipboard

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

Link copied to clipboard

List of dimension conditions.

Link copied to clipboard

The minimum number of violations required within the selected lookback time window required to raise an alert.

Link copied to clipboard

Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format)

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 operator used to compare the metric value against the threshold.

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 time aggregation types.