Class MetricSeriesGroupDetectionCondition
-
Constructor Summary
ConstructorDescriptionMetricSeriesGroupDetectionCondition
(DimensionKey seriesGroupKey) Create an instance of MetricSeriesGroupAnomalyDetectionCondition. -
Method Summary
Modifier and TypeMethodDescriptionGets the change threshold condition to detect anomalies.Gets the logical operator applied across conditions.Gets the hard threshold condition to detect anomalies.Get the time series key that identifies a group of series to apply the detection condition.Gets the anomaly smart detection condition.setChangeThresholdCondition
(ChangeThresholdCondition changeThresholdCondition) Sets the change threshold condition.setConditionOperator
(DetectionConditionOperator conditionOperator) Sets the logical operator to apply across conditions.setHardThresholdCondition
(HardThresholdCondition hardThresholdCondition) Sets the hard threshold condition.setSmartDetectionCondition
(SmartDetectionCondition smartDetectionCondition) Sets the smart detection condition.
-
Constructor Details
-
MetricSeriesGroupDetectionCondition
Create an instance of MetricSeriesGroupAnomalyDetectionCondition.- Parameters:
seriesGroupKey
- The time series key that identifies a group of series to apply the detection condition.
-
-
Method Details
-
getSeriesGroupKey
Get the time series key that identifies a group of series to apply the detection condition.- Returns:
- The time series group id.
-
getConditionOperator
Gets the logical operator applied across conditions.- Returns:
- The logical operator applied across conditions.
-
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:
- The Smart detection condition.
-
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:
- The hard threshold condition.
-
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:
- The change threshold condition.
-
setConditionOperator
public MetricSeriesGroupDetectionCondition setConditionOperator(DetectionConditionOperator conditionOperator) Sets the logical operator to apply across conditions.- Parameters:
conditionOperator
- The logical operator.- Returns:
- The MetricSeriesGroupDetectionCondition object itself.
-
setSmartDetectionCondition
public MetricSeriesGroupDetectionCondition 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:
smartDetectionCondition
- The smart detection condition.- Returns:
- The MetricSeriesGroupDetectionCondition object itself.
-
setHardThresholdCondition
public MetricSeriesGroupDetectionCondition 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:
hardThresholdCondition
- The hard threshold condition.- Returns:
- The MetricSeriesGroupDetectionCondition object itself.
-
setChangeThresholdCondition
public MetricSeriesGroupDetectionCondition 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:
changeThresholdCondition
- The change threshold condition.- Returns:
- The MetricSeriesGroupDetectionCondition object itself.
-