public final class MetricSingleSeriesDetectionCondition extends Object
Constructor and Description |
---|
MetricSingleSeriesDetectionCondition(DimensionKey seriesKey)
Create an instance of MetricSingleSeriesAnomalyDetectionCondition.
|
public MetricSingleSeriesDetectionCondition(DimensionKey seriesKey)
seriesKey
- The time series key that identifies the series to apply the detection condition.public DimensionKey getSeriesKey()
public DetectionConditionsOperator getCrossConditionsOperator()
public SmartDetectionCondition getSmartDetectionCondition()
The smart detection condition defines the numerical value to adjust the tolerance of the anomalies, the higher the value, the narrower the band (upper/lower bounds) around time series. The series data points those are not within such boundaries are detected as anomalies.
public HardThresholdCondition getHardThresholdCondition()
The smart detection condition defines the numerical value to adjust the tolerance of the anomalies, the higher the value, the narrower the band (upper/lower bounds) around time series. The series data points those are not within the boundaries are detected as anomalies.
public ChangeThresholdCondition getChangeThresholdCondition()
The change threshold condition defines change percentage; the value of a data point is compared with previous data points; if the change percentage of the value is in or out of the range, then that data point is detected as anomalies.
public MetricSingleSeriesDetectionCondition setCrossConditionOperator(DetectionConditionsOperator crossConditionsOperator)
crossConditionsOperator
- The logical operator.public MetricSingleSeriesDetectionCondition setSmartDetectionCondition(SmartDetectionCondition smartDetectionCondition)
The smart detection condition defines the numerical value to adjust the tolerance of the anomalies, the higher the value, the narrower the band (upper/lower bounds) around time series. The series data points those are not within such boundaries are detected as anomalies.
smartDetectionCondition
- The smart detection condition.public MetricSingleSeriesDetectionCondition setHardThresholdCondition(HardThresholdCondition hardThresholdCondition)
The hard threshold condition defines boundaries, the series data points those are not within the boundaries are detected as anomalies.
hardThresholdCondition
- The hard threshold condition.public MetricSingleSeriesDetectionCondition setChangeThresholdCondition(ChangeThresholdCondition changeThresholdCondition)
The change threshold condition defines change percentage; the value of a data point is compared with previous data points; if the change percentage of the value is in or out of the range, then that data point is detected as anomalies.
changeThresholdCondition
- The change threshold condition.Copyright © 2021 Microsoft Corporation. All rights reserved.