Interface MetricDynamicAlertCondition.UpdateStages

Enclosing interface:
MetricDynamicAlertCondition

public static interface MetricDynamicAlertCondition.UpdateStages
Grouping of metric alert condition update stages.
  • Method Details

    • withCondition

      Sets the condition to monitor for the current metric alert.
      Parameters:
      condition - the criteria operator.
      timeAggregation - the criteria time aggregation types.
      sensitivity - the threshold sensitivity that activates the alert.
      Returns:
      the next stage of metric alert condition definition.
    • withDimension

      MetricDynamicAlertCondition.UpdateStages withDimension(String dimensionName, String... values)
      Adds a metric dimension filter.
      Parameters:
      dimensionName - the name of the dimension.
      values - list of dimension values to alert on.
      Returns:
      the next stage of the metric alert condition update.
    • withoutDimension

      MetricDynamicAlertCondition.UpdateStages withoutDimension(String dimensionName)
      Removes the specified dimension filter.
      Parameters:
      dimensionName - dimensionName the name of the dimension.
      Returns:
      the next stage of the metric alert condition update.
    • withFailingPeriods

      Sets the failing periods for triggering the alert.
      Parameters:
      failingPeriods - the failing periods for triggering the alert.
      Returns:
      the next stage of metric alert condition definition.
    • withIgnoreDataBefore

      Sets the date from which to start learning the metric historical data and calculate the dynamic thresholds.
      Parameters:
      date - the date from which to start learning the metric historical data and calculate the dynamic thresholds.
      Returns:
      the next stage of metric alert condition definition.
    • withoutIgnoreDataBefore

      MetricDynamicAlertCondition.UpdateStages withoutIgnoreDataBefore()
      Removes the date from which to start learning the metric historical data and calculate the dynamic thresholds.
      Returns:
      the next stage of the metric alert condition update.
    • parent

      Returns back to the metric alert update flow.
      Returns:
      the next stage of the metric alert update.