Class: DatadogAPIClient::V2::SpansMetricCompute

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

Overview

The compute rule to compute the span-based metric.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



34
35
36
# File 'lib/datadog_api_client/v2/models/spans_metric_compute.rb', line 34

def additional_properties
  @additional_properties
end

#aggregation_typeObject

The type of aggregation to use.



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

def aggregation_type
  @aggregation_type
end

#include_percentilesObject

Toggle to include or exclude percentile aggregations for distribution metrics. Only present when the aggregation_type is distribution.



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

def include_percentiles
  @include_percentiles
end

#pathObject

The path to the value the span-based metric will aggregate on (only used if the aggregation type is a "distribution").



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

def path
  @path
end