Class: DatadogAPIClient::V2::RUMEventAttributes

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

Overview

JSON object containing all event attributes and their associated values.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



39
40
41
# File 'lib/datadog_api_client/v2/models/rum_event_attributes.rb', line 39

def additional_properties
  @additional_properties
end

#attributes ⇒ Object

JSON object of attributes from RUM events. Attributes are nested by path: the facet @view.name used in queries is returned as attributes.view.name. Common attributes include type (the event type: session, view, action, resource, error, long_task, or vital), application.id, session.id, view.id, view.name, and usr.id. Durations such as view.time_spent, view.loading_time, and resource.duration are in nanoseconds.



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

def attributes
  @attributes
end

#service ⇒ Object

The name of the application or service generating RUM events. It is used to switch from RUM to APM, so make sure you define the same value when you use both products.



31
32
33
# File 'lib/datadog_api_client/v2/models/rum_event_attributes.rb', line 31

def service
  @service
end

#tags ⇒ Object

Array of tags associated with your event, in key:value format.



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

def tags
  @tags
end

#timestamp ⇒ Object

Timestamp of your event, in ISO 8601 format.



37
38
39
# File 'lib/datadog_api_client/v2/models/rum_event_attributes.rb', line 37

def timestamp
  @timestamp
end