Class: DatadogAPIClient::V1::SLOHistoryMetrics

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

Overview

A ‘metric` based SLO history response.

This is not included in responses for ‘monitor` based SLOs.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



52
53
54
# File 'lib/datadog_api_client/v1/models/slo_history_metrics.rb', line 52

def additional_properties
  @additional_properties
end

#denominatorObject

A representation of ‘metric` based SLO timeseries for the provided queries. This is the same response type from `batch_query` endpoint.



28
29
30
# File 'lib/datadog_api_client/v1/models/slo_history_metrics.rb', line 28

def denominator
  @denominator
end

#intervalObject

The aggregated query interval for the series data. It’s implicit based on the query time window.



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

def interval
  @interval
end

#messageObject

Optional message if there are specific query issues/warnings.



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

def message
  @message
end

#numeratorObject

A representation of ‘metric` based SLO timeseries for the provided queries. This is the same response type from `batch_query` endpoint.



38
39
40
# File 'lib/datadog_api_client/v1/models/slo_history_metrics.rb', line 38

def numerator
  @numerator
end

#queryObject

The combined numerator and denominator query CSV.



41
42
43
# File 'lib/datadog_api_client/v1/models/slo_history_metrics.rb', line 41

def query
  @query
end

#res_typeObject

The series result type. This mimics ‘batch_query` response type.



44
45
46
# File 'lib/datadog_api_client/v1/models/slo_history_metrics.rb', line 44

def res_type
  @res_type
end

#resp_versionObject

The series response version type. This mimics ‘batch_query` response type.



47
48
49
# File 'lib/datadog_api_client/v1/models/slo_history_metrics.rb', line 47

def resp_version
  @resp_version
end

#timesObject

An array of query timestamps in EPOCH milliseconds.



50
51
52
# File 'lib/datadog_api_client/v1/models/slo_history_metrics.rb', line 50

def times
  @times
end