MetricWholeSeriesDetectionCondition Class
- java.
lang. Object - com.
azure. ai. metricsadvisor. administration. models. MetricWholeSeriesDetectionCondition
- com.
public final class MetricWholeSeriesDetectionCondition
Conditions to detect anomalies in all time series of a metric.
Constructor Summary
Constructor | Description |
---|---|
MetricWholeSeriesDetectionCondition() |
Creates a new instance of Metric |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
MetricWholeSeriesDetectionCondition
public MetricWholeSeriesDetectionCondition()
Creates a new instance of MetricWholeSeriesDetectionCondition.
Method Details
getChangeThresholdCondition
public ChangeThresholdCondition getChangeThresholdCondition()
Gets the change threshold condition to detect anomalies.
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.
Returns:
getConditionOperator
public DetectionConditionOperator getConditionOperator()
Gets the logical operator applied across conditions.
Returns:
getHardThresholdCondition
public HardThresholdCondition getHardThresholdCondition()
Gets the hard threshold condition to detect anomalies.
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.
Returns:
getSmartDetectionCondition
public SmartDetectionCondition getSmartDetectionCondition()
Gets the anomaly smart detection condition.
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.
Returns:
setChangeThresholdCondition
public MetricWholeSeriesDetectionCondition setChangeThresholdCondition(ChangeThresholdCondition changeThresholdCondition)
Sets the change threshold condition.
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.
Parameters:
Returns:
setConditionOperator
public MetricWholeSeriesDetectionCondition setConditionOperator(DetectionConditionOperator conditionOperator)
Sets the logical operator to apply across conditions.
Parameters:
Returns:
setHardThresholdCondition
public MetricWholeSeriesDetectionCondition setHardThresholdCondition(HardThresholdCondition hardThresholdCondition)
Sets the hard threshold condition.
The hard threshold condition defines boundaries, the series data points those are not within the boundaries are detected as anomalies.
Parameters:
Returns:
setSmartDetectionCondition
public MetricWholeSeriesDetectionCondition setSmartDetectionCondition(SmartDetectionCondition smartDetectionCondition)
Sets the smart detection condition.
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.
Parameters:
Returns:
Applies to
Azure SDK for Java