Class: DatadogAPIClient::V2::RumMetricCompute

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

Overview

The compute rule to compute the RUM-based metric. It is set at creation and only include_percentiles can be updated afterward.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



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

def additional_properties
  @additional_properties
end

#aggregation_type ⇒ Object

The type of aggregation to use. count counts the matching events. distribution aggregates the values found at path.



26
27
28
# File 'lib/datadog_api_client/v2/models/rum_metric_compute.rb', line 26

def aggregation_type
  @aggregation_type
end

#include_percentiles ⇒ Object

Toggle to include or exclude percentile aggregations (p50, p75, p90, p95, p99) for distribution metrics. Required when aggregation_type is distribution, and must be omitted otherwise.



30
31
32
# File 'lib/datadog_api_client/v2/models/rum_metric_compute.rb', line 30

def include_percentiles
  @include_percentiles
end

#path ⇒ Object

The path of the numeric RUM event attribute the metric aggregates on. Only valid when aggregation_type is distribution.



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

def path
  @path
end