Class: DatadogAPIClient::V2::DeploymentRuleOptionsMonitor
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::DeploymentRuleOptionsMonitor
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/deployment_rule_options_monitor.rb
Overview
Monitor options for deployment rules.
Instance Attribute Summary collapse
-
#duration ⇒ Object
Seconds the monitor needs to stay in OK status for the rule to pass.
-
#fail_on_no_data ⇒ Object
Whether the rule should fail if a matching monitor group is in a NO DATA state.
-
#fail_on_no_groups_found ⇒ Object
Whether the rule should fail if no monitor groups are found for the query.
-
#query ⇒ Object
readonly
Monitors that match this query are evaluated.
-
#warmup ⇒ Object
readonly
Seconds to wait after a deployment starts before evaluating the monitor's status.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#duration ⇒ Object
Seconds the monitor needs to stay in OK status for the rule to pass.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/deployment_rule_options_monitor.rb', line 25 def duration @duration end |
#fail_on_no_data ⇒ Object
Whether the rule should fail if a matching monitor group is in a NO DATA state.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/deployment_rule_options_monitor.rb', line 28 def fail_on_no_data @fail_on_no_data end |
#fail_on_no_groups_found ⇒ Object
Whether the rule should fail if no monitor groups are found for the query.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/deployment_rule_options_monitor.rb', line 31 def fail_on_no_groups_found @fail_on_no_groups_found end |
#query ⇒ Object
Monitors that match this query are evaluated.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/deployment_rule_options_monitor.rb', line 34 def query @query end |
#warmup ⇒ Object
Seconds to wait after a deployment starts before evaluating the monitor's status.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/deployment_rule_options_monitor.rb', line 37 def warmup @warmup end |