Class: DatadogAPIClient::V2::CIAppTestsGroupBy

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

Overview

A group-by rule.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#facetObject

The name of the facet to use (required).



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

def facet
  @facet
end

#histogramObject

Used to perform a histogram computation (only for measure facets). At most, 100 buckets are allowed, the number of buckets is (max - min)/interval.



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

def histogram
  @histogram
end

#limitObject

The maximum buckets to return for this group-by.



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

def limit
  @limit
end

#missingObject

The value to use for logs that don't have the facet used to group-by.



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

def missing
  @missing
end

#sortObject

A sort rule. The aggregation field is required when type is measure.



38
39
40
# File 'lib/datadog_api_client/v2/models/ci_app_tests_group_by.rb', line 38

def sort
  @sort
end

#totalObject

A resulting object to put the given computes in over all the matching records.



41
42
43
# File 'lib/datadog_api_client/v2/models/ci_app_tests_group_by.rb', line 41

def total
  @total
end