Class: DatadogAPIClient::V1::MetricsQueryMetadata

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

Overview

Object containing all metric names returned and their associated metadata.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#_endObject

End of the time window, milliseconds since Unix epoch.



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

def _end
  @_end
end

#additional_propertiesObject

Returns the value of attribute additional_properties.



66
67
68
# File 'lib/datadog_api_client/v1/models/metrics_query_metadata.rb', line 66

def additional_properties
  @additional_properties
end

#aggrObject

Aggregation type.



25
26
27
# File 'lib/datadog_api_client/v1/models/metrics_query_metadata.rb', line 25

def aggr
  @aggr
end

#display_nameObject

Display name of the metric.



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

def display_name
  @display_name
end

#expressionObject

Metric expression.



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

def expression
  @expression
end

#intervalObject

Number of milliseconds between data samples.



37
38
39
# File 'lib/datadog_api_client/v1/models/metrics_query_metadata.rb', line 37

def interval
  @interval
end

#lengthObject

Number of data samples.



40
41
42
# File 'lib/datadog_api_client/v1/models/metrics_query_metadata.rb', line 40

def length
  @length
end

#metricObject

Metric name.



43
44
45
# File 'lib/datadog_api_client/v1/models/metrics_query_metadata.rb', line 43

def metric
  @metric
end

#pointlistObject

List of points of the timeseries in milliseconds.



46
47
48
# File 'lib/datadog_api_client/v1/models/metrics_query_metadata.rb', line 46

def pointlist
  @pointlist
end

#query_indexObject

The index of the series’ query within the request.



49
50
51
# File 'lib/datadog_api_client/v1/models/metrics_query_metadata.rb', line 49

def query_index
  @query_index
end

#scopeObject

Metric scope, comma separated list of tags.



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

def scope
  @scope
end

#startObject

Start of the time window, milliseconds since Unix epoch.



55
56
57
# File 'lib/datadog_api_client/v1/models/metrics_query_metadata.rb', line 55

def start
  @start
end

#tag_setObject

Unique tags identifying this series.



58
59
60
# File 'lib/datadog_api_client/v1/models/metrics_query_metadata.rb', line 58

def tag_set
  @tag_set
end

#unitObject

Detailed information about the metric unit. The first element describes the “primary unit” (for example, ‘bytes` in `bytes per second`). The second element describes the “per unit” (for example, `second` in `bytes per second`). If the second element is not present, the API returns null.



64
65
66
# File 'lib/datadog_api_client/v1/models/metrics_query_metadata.rb', line 64

def unit
  @unit
end