Class: DatadogAPIClient::V1::SearchServiceLevelObjectiveAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::SearchServiceLevelObjectiveAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/search_service_level_objective_attributes.rb
Overview
A service level objective object includes a service level indicator, thresholds for one or more timeframes, and metadata (‘name`, `description`, and `tags`).
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#all_tags ⇒ Object
A list of tags associated with this service level objective.
-
#created_at ⇒ Object
Creation timestamp (UNIX time in seconds).
-
#creator ⇒ Object
The creator of the SLO.
-
#description ⇒ Object
A user-defined description of the service level objective.
-
#env_tags ⇒ Object
Tags with the ‘env` tag key.
-
#groups ⇒ Object
A list of (up to 100) monitor groups that narrow the scope of a monitor service level objective.
-
#modified_at ⇒ Object
Modification timestamp (UNIX time in seconds).
-
#monitor_ids ⇒ Object
A list of monitor ids that defines the scope of a monitor service level objective.
-
#name ⇒ Object
The name of the service level objective object.
-
#overall_status ⇒ Object
calculated status and error budget remaining.
-
#query ⇒ Object
A metric-based SLO.
-
#service_tags ⇒ Object
Tags with the ‘service` tag key.
-
#slo_type ⇒ Object
The type of the service level objective.
-
#status ⇒ Object
Status of the SLO’s primary timeframe.
-
#team_tags ⇒ Object
Tags with the ‘team` tag key.
-
#thresholds ⇒ Object
The thresholds (timeframes and associated targets) for this service level objective object.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
86 87 88 |
# File 'lib/datadog_api_client/v1/models/search_service_level_objective_attributes.rb', line 86 def additional_properties @additional_properties end |
#all_tags ⇒ Object
A list of tags associated with this service level objective. Always included in service level objective responses (but may be empty).
27 28 29 |
# File 'lib/datadog_api_client/v1/models/search_service_level_objective_attributes.rb', line 27 def @all_tags end |
#created_at ⇒ Object
Creation timestamp (UNIX time in seconds)
Always included in service level objective responses.
32 33 34 |
# File 'lib/datadog_api_client/v1/models/search_service_level_objective_attributes.rb', line 32 def created_at @created_at end |
#creator ⇒ Object
The creator of the SLO
35 36 37 |
# File 'lib/datadog_api_client/v1/models/search_service_level_objective_attributes.rb', line 35 def creator @creator end |
#description ⇒ Object
A user-defined description of the service level objective.
Always included in service level objective responses (but may be ‘null`). Optional in create/update requests.
41 42 43 |
# File 'lib/datadog_api_client/v1/models/search_service_level_objective_attributes.rb', line 41 def description @description end |
#env_tags ⇒ Object
Tags with the ‘env` tag key.
44 45 46 |
# File 'lib/datadog_api_client/v1/models/search_service_level_objective_attributes.rb', line 44 def @env_tags end |
#groups ⇒ Object
A list of (up to 100) monitor groups that narrow the scope of a monitor service level objective. Included in service level objective responses if it is not empty.
48 49 50 |
# File 'lib/datadog_api_client/v1/models/search_service_level_objective_attributes.rb', line 48 def groups @groups end |
#modified_at ⇒ Object
Modification timestamp (UNIX time in seconds)
Always included in service level objective responses.
53 54 55 |
# File 'lib/datadog_api_client/v1/models/search_service_level_objective_attributes.rb', line 53 def modified_at @modified_at end |
#monitor_ids ⇒ Object
A list of monitor ids that defines the scope of a monitor service level objective.
57 58 59 |
# File 'lib/datadog_api_client/v1/models/search_service_level_objective_attributes.rb', line 57 def monitor_ids @monitor_ids end |
#name ⇒ Object
The name of the service level objective object.
60 61 62 |
# File 'lib/datadog_api_client/v1/models/search_service_level_objective_attributes.rb', line 60 def name @name end |
#overall_status ⇒ Object
calculated status and error budget remaining.
63 64 65 |
# File 'lib/datadog_api_client/v1/models/search_service_level_objective_attributes.rb', line 63 def overall_status @overall_status end |
#query ⇒ Object
A metric-based SLO. **Required if type is ‘metric`**. Note that Datadog only allows the sum by aggregator to be used because this will sum up all request counts instead of averaging them, or taking the max or min of all of those requests.
68 69 70 |
# File 'lib/datadog_api_client/v1/models/search_service_level_objective_attributes.rb', line 68 def query @query end |
#service_tags ⇒ Object
Tags with the ‘service` tag key.
71 72 73 |
# File 'lib/datadog_api_client/v1/models/search_service_level_objective_attributes.rb', line 71 def @service_tags end |
#slo_type ⇒ Object
The type of the service level objective.
74 75 76 |
# File 'lib/datadog_api_client/v1/models/search_service_level_objective_attributes.rb', line 74 def slo_type @slo_type end |
#status ⇒ Object
Status of the SLO’s primary timeframe.
77 78 79 |
# File 'lib/datadog_api_client/v1/models/search_service_level_objective_attributes.rb', line 77 def status @status end |
#team_tags ⇒ Object
Tags with the ‘team` tag key.
80 81 82 |
# File 'lib/datadog_api_client/v1/models/search_service_level_objective_attributes.rb', line 80 def @team_tags end |
#thresholds ⇒ Object
The thresholds (timeframes and associated targets) for this service level objective object.
84 85 86 |
# File 'lib/datadog_api_client/v1/models/search_service_level_objective_attributes.rb', line 84 def thresholds @thresholds end |