Class: DatadogAPIClient::V2::SpansAggregateSort
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::SpansAggregateSort
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/spans_aggregate_sort.rb
Overview
A sort rule. With type: alphabetical (the default), buckets are sorted by facet value
and only order is allowed. With type: measure, buckets are sorted by a computed value:
set aggregation, and set metric unless the aggregation is count.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#aggregation ⇒ Object
An aggregation function.
-
#metric ⇒ Object
The metric to sort by (only used for
type=measure). -
#order ⇒ Object
The order to use, ascending or descending.
-
#type ⇒ Object
The type of sorting algorithm.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
38 39 40 |
# File 'lib/datadog_api_client/v2/models/spans_aggregate_sort.rb', line 38 def additional_properties @additional_properties end |
#aggregation ⇒ Object
An aggregation function.
27 28 29 |
# File 'lib/datadog_api_client/v2/models/spans_aggregate_sort.rb', line 27 def aggregation @aggregation end |
#metric ⇒ Object
The metric to sort by (only used for type=measure).
30 31 32 |
# File 'lib/datadog_api_client/v2/models/spans_aggregate_sort.rb', line 30 def metric @metric end |
#order ⇒ Object
The order to use, ascending or descending.
33 34 35 |
# File 'lib/datadog_api_client/v2/models/spans_aggregate_sort.rb', line 33 def order @order end |
#type ⇒ Object
The type of sorting algorithm.
36 37 38 |
# File 'lib/datadog_api_client/v2/models/spans_aggregate_sort.rb', line 36 def type @type end |