Class: DatadogAPIClient::V2::DeploymentGateRuleEvaluationConfiguration
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::DeploymentGateRuleEvaluationConfiguration
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/deployment_gate_rule_evaluation_configuration.rb
Overview
Evaluated rule configuration. Fields depend on rule type and unset fields are omitted.
Monitor rules can include duration, query, monitor_ids, warmup, fail_on_no_groups_found, and fail_on_no_data.
Faulty deployment detection rules can include duration, allowed_resources, and excluded_resources.
Instance Attribute Summary collapse
-
#allowed_resources ⇒ Object
APM resources explicitly allowed by faulty deployment detection.
-
#duration ⇒ Object
Evaluation duration configured for this rule.
-
#excluded_resources ⇒ Object
APM resources excluded from faulty deployment detection.
-
#fail_on_no_data ⇒ Object
Whether a monitor rule fails when no data is found.
-
#fail_on_no_groups_found ⇒ Object
Whether a monitor rule fails when no groups are found.
-
#monitor_ids ⇒ Object
Monitor IDs evaluated by a monitor rule.
-
#query ⇒ Object
Monitor query used by a monitor rule.
-
#warmup ⇒ Object
Warm-up duration in seconds for a monitor rule.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#allowed_resources ⇒ Object
APM resources explicitly allowed by faulty deployment detection.
27 28 29 |
# File 'lib/datadog_api_client/v2/models/deployment_gate_rule_evaluation_configuration.rb', line 27 def allowed_resources @allowed_resources end |
#duration ⇒ Object
Evaluation duration configured for this rule.
30 31 32 |
# File 'lib/datadog_api_client/v2/models/deployment_gate_rule_evaluation_configuration.rb', line 30 def duration @duration end |
#excluded_resources ⇒ Object
APM resources excluded from faulty deployment detection.
33 34 35 |
# File 'lib/datadog_api_client/v2/models/deployment_gate_rule_evaluation_configuration.rb', line 33 def excluded_resources @excluded_resources end |
#fail_on_no_data ⇒ Object
Whether a monitor rule fails when no data is found.
36 37 38 |
# File 'lib/datadog_api_client/v2/models/deployment_gate_rule_evaluation_configuration.rb', line 36 def fail_on_no_data @fail_on_no_data end |
#fail_on_no_groups_found ⇒ Object
Whether a monitor rule fails when no groups are found.
39 40 41 |
# File 'lib/datadog_api_client/v2/models/deployment_gate_rule_evaluation_configuration.rb', line 39 def fail_on_no_groups_found @fail_on_no_groups_found end |
#monitor_ids ⇒ Object
Monitor IDs evaluated by a monitor rule.
42 43 44 |
# File 'lib/datadog_api_client/v2/models/deployment_gate_rule_evaluation_configuration.rb', line 42 def monitor_ids @monitor_ids end |
#query ⇒ Object
Monitor query used by a monitor rule.
45 46 47 |
# File 'lib/datadog_api_client/v2/models/deployment_gate_rule_evaluation_configuration.rb', line 45 def query @query end |
#warmup ⇒ Object
Warm-up duration in seconds for a monitor rule. Omitted when zero.
48 49 50 |
# File 'lib/datadog_api_client/v2/models/deployment_gate_rule_evaluation_configuration.rb', line 48 def warmup @warmup end |