Interface MetricDynamicAlertCondition.DefinitionStages.WithConditionAttach<ParentT>

  • Type Parameters:
    ParentT - the stage of the parent Metric Alert definition to return to after attaching this definition
    Enclosing interface:
    MetricDynamicAlertCondition.DefinitionStages

    public static interface MetricDynamicAlertCondition.DefinitionStages.WithConditionAttach<ParentT>
    The stage of the definition which specifies metric alert additional filtering options.
    • Method Detail

      • withIgnoreDataBefore

        MetricDynamicAlertCondition.DefinitionStages.WithConditionAttach<ParentT> withIgnoreDataBefore​(OffsetDateTime dateTime)
        Sets the date from which to start learning the metric historical data and calculate the dynamic thresholds.
        Parameters:
        dateTime - 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.
      • attach

        ParentT attach()
        Attaches the defined condition to the parent metric alert.
        Returns:
        the next stage of metric alert definition.