public final class MetricSeriesGroupDetectionCondition extends Object
Constructor and Description |
---|
MetricSeriesGroupDetectionCondition(DimensionKey seriesGroupKey)
Create an instance of MetricSeriesGroupAnomalyDetectionCondition.
|
Modifier and Type | Method and Description |
---|---|
ChangeThresholdCondition |
getChangeThresholdCondition()
Gets the change threshold condition to detect anomalies.
|
DetectionConditionsOperator |
getCrossConditionsOperator()
Gets the logical operator applied across conditions.
|
HardThresholdCondition |
getHardThresholdCondition()
Gets the hard threshold condition to detect anomalies.
|
DimensionKey |
getSeriesGroupKey()
Get the time series key that identifies a group of series to apply the detection condition.
|
SmartDetectionCondition |
getSmartDetectionCondition()
Gets the anomaly smart detection condition.
|
MetricSeriesGroupDetectionCondition |
setChangeThresholdCondition(ChangeThresholdCondition changeThresholdCondition)
Sets the change threshold condition.
|
MetricSeriesGroupDetectionCondition |
setCrossConditionOperator(DetectionConditionsOperator crossConditionsOperator)
Sets the logical operator to apply across conditions.
|
MetricSeriesGroupDetectionCondition |
setHardThresholdCondition(HardThresholdCondition hardThresholdCondition)
Sets the hard threshold condition.
|
MetricSeriesGroupDetectionCondition |
setSmartDetectionCondition(SmartDetectionCondition smartDetectionCondition)
Sets the smart detection condition.
|
public MetricSeriesGroupDetectionCondition(DimensionKey seriesGroupKey)
seriesGroupKey
- The time series key that identifies a group of series to apply the detection condition.public DimensionKey getSeriesGroupKey()
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 MetricSeriesGroupDetectionCondition setCrossConditionOperator(DetectionConditionsOperator crossConditionsOperator)
crossConditionsOperator
- The logical operator.public MetricSeriesGroupDetectionCondition 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 MetricSeriesGroupDetectionCondition 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 MetricSeriesGroupDetectionCondition 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.