Class: DatadogAPIClient::V2::MetricsScalarQuery

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

Overview

An individual scalar metrics query.

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/v2/models/metrics_scalar_query.rb', line 36

def additional_properties
  @additional_properties
end

#aggregatorObject

The type of aggregation that can be performed on metrics-based queries.



25
26
27
# File 'lib/datadog_api_client/v2/models/metrics_scalar_query.rb', line 25

def aggregator
  @aggregator
end

#data_sourceObject

A data source that is powered by the Metrics platform.



28
29
30
# File 'lib/datadog_api_client/v2/models/metrics_scalar_query.rb', line 28

def data_source
  @data_source
end

#nameObject

The variable name for use in formulas.



31
32
33
# File 'lib/datadog_api_client/v2/models/metrics_scalar_query.rb', line 31

def name
  @name
end

#queryObject

A classic metrics query string.



34
35
36
# File 'lib/datadog_api_client/v2/models/metrics_scalar_query.rb', line 34

def query
  @query
end