Class: DatadogAPIClient::V2::LogsCompute

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/logs_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



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

def aggregation
  @aggregation
end

#intervalObject

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



33
34
35
# File 'lib/datadog_api_client/v2/models/logs_compute.rb', line 33

def interval
  @interval
end

#metricObject

The metric to use



36
37
38
# File 'lib/datadog_api_client/v2/models/logs_compute.rb', line 36

def metric
  @metric
end

#typeObject

The type of compute



39
40
41
# File 'lib/datadog_api_client/v2/models/logs_compute.rb', line 39

def type
  @type
end