Class: DatadogAPIClient::V1::SearchSLOQuery

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

Overview

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.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



36
37
38
# File 'lib/datadog_api_client/v1/models/search_slo_query.rb', line 36

def additional_properties
  @additional_properties
end

#denominatorObject

A Datadog metric query for total (valid) events.



27
28
29
# File 'lib/datadog_api_client/v1/models/search_slo_query.rb', line 27

def denominator
  @denominator
end

#metricsObject

Metric names used in the query’s numerator and denominator. This field will return null and will be implemented in the next version of this endpoint.



31
32
33
# File 'lib/datadog_api_client/v1/models/search_slo_query.rb', line 31

def metrics
  @metrics
end

#numeratorObject

A Datadog metric query for good events.



34
35
36
# File 'lib/datadog_api_client/v1/models/search_slo_query.rb', line 34

def numerator
  @numerator
end