Class: DatadogAPIClient::V2::RumMetricCreateAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::RumMetricCreateAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/rum_metric_create_attributes.rb
Overview
The object describing the Datadog RUM-based metric to create.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#compute ⇒ Object
readonly
The compute rule to compute the RUM-based metric.
-
#event_type ⇒ Object
readonly
The type of RUM events the metric is generated from.
-
#filter ⇒ Object
The RUM-based metric filter.
-
#group_by ⇒ Object
The rules to group the metric by.
-
#uniqueness ⇒ Object
The rule to count updatable events.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/rum_metric_create_attributes.rb', line 40 def additional_properties @additional_properties end |
#compute ⇒ Object
The compute rule to compute the RUM-based metric. It is set at creation and only include_percentiles can be updated afterward.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/rum_metric_create_attributes.rb', line 25 def compute @compute end |
#event_type ⇒ Object
The type of RUM events the metric is generated from. It is set at creation and cannot be changed.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/rum_metric_create_attributes.rb', line 28 def event_type @event_type end |
#filter ⇒ Object
The RUM-based metric filter. Events matching this filter are aggregated in this metric. The event_type filter is added automatically.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/rum_metric_create_attributes.rb', line 31 def filter @filter end |
#group_by ⇒ Object
The rules to group the metric by. Each rule creates a tag on the generated metric. If omitted, the metric is not grouped.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/rum_metric_create_attributes.rb', line 34 def group_by @group_by end |
#uniqueness ⇒ Object
The rule to count updatable events.
Required when event_type is session or view, and must be omitted for other event types. It cannot be changed after creation.
38 39 40 |
# File 'lib/datadog_api_client/v2/models/rum_metric_create_attributes.rb', line 38 def uniqueness @uniqueness end |