public class DynamicMetricCriteria extends MultiMetricCriteria
| Constructor and Description |
|---|
DynamicMetricCriteria() |
| Modifier and Type | Method and Description |
|---|---|
Object |
alertSensitivity()
Get the extent of deviation required to trigger an alert.
|
DynamicThresholdFailingPeriods |
failingPeriods()
Get the minimum number of violations required within the selected lookback time window required to raise an alert.
|
org.joda.time.DateTime |
ignoreDataBefore()
Get use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format).
|
Object |
operator()
Get the operator used to compare the metric value against the threshold.
|
DynamicMetricCriteria |
withAlertSensitivity(Object alertSensitivity)
Set the extent of deviation required to trigger an alert.
|
DynamicMetricCriteria |
withFailingPeriods(DynamicThresholdFailingPeriods failingPeriods)
Set the minimum number of violations required within the selected lookback time window required to raise an alert.
|
DynamicMetricCriteria |
withIgnoreDataBefore(org.joda.time.DateTime ignoreDataBefore)
Set use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format).
|
DynamicMetricCriteria |
withOperator(Object operator)
Set the operator used to compare the metric value against the threshold.
|
additionalProperties, dimensions, metricName, metricNamespace, name, timeAggregation, withAdditionalProperties, withDimensions, withMetricName, withMetricNamespace, withName, withTimeAggregationpublic Object operator()
public DynamicMetricCriteria withOperator(Object operator)
operator - the operator value to setpublic Object alertSensitivity()
public DynamicMetricCriteria withAlertSensitivity(Object alertSensitivity)
alertSensitivity - the alertSensitivity value to setpublic DynamicThresholdFailingPeriods failingPeriods()
public DynamicMetricCriteria withFailingPeriods(DynamicThresholdFailingPeriods failingPeriods)
failingPeriods - the failingPeriods value to setpublic org.joda.time.DateTime ignoreDataBefore()
public DynamicMetricCriteria withIgnoreDataBefore(org.joda.time.DateTime ignoreDataBefore)
ignoreDataBefore - the ignoreDataBefore value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/