Class: DatadogAPIClient::V1::SearchServiceLevelObjectiveAttributes

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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_tagsObject

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
  @all_tags
end

#created_atObject

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

#creatorObject

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

#descriptionObject

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_tagsObject

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
  @env_tags
end

#groupsObject

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_atObject

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_idsObject

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

#nameObject

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_statusObject

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

#queryObject

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_tagsObject

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
  @service_tags
end

#slo_typeObject

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

#statusObject

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_tagsObject

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
  @team_tags
end

#thresholdsObject

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