Class: DatadogAPIClient::V2::ProductAnalyticsCompute

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

Overview

A compute rule for aggregating data.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



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

def additional_properties
  @additional_properties
end

#aggregationObject

The aggregation function (count, cardinality, avg, sum, min, max, etc.).



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

def aggregation
  @aggregation
end

#intervalObject

Time bucket size in milliseconds. Required for timeseries queries; ignored by the scalar endpoint, which returns a single value.



29
30
31
# File 'lib/datadog_api_client/v2/models/product_analytics_compute.rb', line 29

def interval
  @interval
end

#metricObject

The metric to aggregate on. Required for non-count aggregations.



32
33
34
# File 'lib/datadog_api_client/v2/models/product_analytics_compute.rb', line 32

def metric
  @metric
end