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

#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