Class: DatadogAPIClient::V2::CIAppCompute

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

Overview

A compute rule to compute metrics or timeseries.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



37
38
39
# File 'lib/datadog_api_client/v2/models/ci_app_compute.rb', line 37

def additional_properties
  @additional_properties
end

#aggregationObject

An aggregation function.



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

def aggregation
  @aggregation
end

#intervalObject

The time buckets’ size (only used for type=timeseries) Defaults to a resolution of 150 points.



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

def interval
  @interval
end

#metricObject

The metric to use.



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

def metric
  @metric
end

#typeObject

The type of compute.



35
36
37
# File 'lib/datadog_api_client/v2/models/ci_app_compute.rb', line 35

def type
  @type
end