Class: DatadogAPIClient::V1::MonitorFormulaAndFunctionDataQualityModelConfiguration

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v1/models/monitor_formula_and_function_data_quality_model_configuration.rb

Overview

Tuning options for the anomaly detection model used by the monitor.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



50
51
52
# File 'lib/datadog_api_client/v1/models/monitor_formula_and_function_data_quality_model_configuration.rb', line 50

def additional_properties
  @additional_properties
end

#auto_resolve_daysObject

Number of days after which an open alert is automatically resolved. When unset, alerts stay open until the measure returns within bounds.



26
27
28
# File 'lib/datadog_api_client/v1/models/monitor_formula_and_function_data_quality_model_configuration.rb', line 26

def auto_resolve_days
  @auto_resolve_days
end

#enable_flatline_detectionObject

Whether to alert when the measure stops changing entirely. Defaults to true.



30
31
32
# File 'lib/datadog_api_client/v1/models/monitor_formula_and_function_data_quality_model_configuration.rb', line 30

def enable_flatline_detection
  @enable_flatline_detection
end

#functionObject

Function applied to the measure before it is compared against the predicted bounds.



33
34
35
# File 'lib/datadog_api_client/v1/models/monitor_formula_and_function_data_quality_model_configuration.rb', line 33

def function
  @function
end

#min_lower_bound_sizeObject

Minimum distance between the predicted value and the lower bound. Widening the lower bound to at least this size suppresses alerts on small downward deviations. When unset, no minimum is enforced.



38
39
40
# File 'lib/datadog_api_client/v1/models/monitor_formula_and_function_data_quality_model_configuration.rb', line 38

def min_lower_bound_size
  @min_lower_bound_size
end

#min_upper_bound_sizeObject

Minimum distance between the predicted value and the upper bound. Widening the upper bound to at least this size suppresses alerts on small upward deviations. When unset, no minimum is enforced.



43
44
45
# File 'lib/datadog_api_client/v1/models/monitor_formula_and_function_data_quality_model_configuration.rb', line 43

def min_upper_bound_size
  @min_upper_bound_size
end

#model_bounds_overrideObject

Restricts which predicted bound the monitor alerts on. UPPER_ONLY alerts only when the measure rises above the upper bound, LOWER_ONLY only when it falls below the lower bound. When unset, the monitor alerts on both.



48
49
50
# File 'lib/datadog_api_client/v1/models/monitor_formula_and_function_data_quality_model_configuration.rb', line 48

def model_bounds_override
  @model_bounds_override
end