Skip to content

RumAttributes

Xavier F. Gouchet edited this page Sep 4, 2024 · 1 revision

object RumAttributes

This class holds constant rum attribute keys.

Properties

ACTION_GESTURE_DIRECTION

const val ACTION_GESTURE_DIRECTION: String

The gesture event direction.

ACTION_GESTURE_FROM_STATE

const val ACTION_GESTURE_FROM_STATE: String

The gesture event start state.

ACTION_GESTURE_TO_STATE

const val ACTION_GESTURE_TO_STATE: String

The gesture event final state.

ACTION_TARGET_CLASS_NAME

const val ACTION_TARGET_CLASS_NAME: String

The touch target class name. (String)

See also
RumMonitor.addAction
RumMonitor.startAction
RumMonitor.stopAction

ACTION_TARGET_PARENT_CLASSNAME

const val ACTION_TARGET_PARENT_CLASSNAME: String

The class name of the touch target's parent view. (String) For now we only detect RecyclerView as parent.

ACTION_TARGET_PARENT_INDEX

const val ACTION_TARGET_PARENT_INDEX: String

The index of the touch target in the parent view. (Integer) For now we only detect RecyclerView as parent.

ACTION_TARGET_PARENT_RESOURCE_ID

const val ACTION_TARGET_PARENT_RESOURCE_ID: String

The resource id of the target container in case this is a scrollable component. (String) In case the resource id is missing we will provide the container id in a Hexa String format (e.g. 0x1A2B1) For now we only support the RecyclerView component.

ACTION_TARGET_RESOURCE_ID

const val ACTION_TARGET_RESOURCE_ID: String

The touch target resource id. (String) It can either be the resource identifier, or the raw hexadecimal value.

See also
RumMonitor.addAction
RumMonitor.startAction
RumMonitor.stopAction

ACTION_TARGET_TITLE

const val ACTION_TARGET_TITLE: String

The title of the action's target. (String)

See also
RumMonitor.addAction
RumMonitor.startAction
RumMonitor.stopAction

APPLICATION_VERSION

const val APPLICATION_VERSION: String

The human readable version of the application. (String) This value is extracted from your application's manifest and filled automatically by the RumMonitor.

ENV

const val ENV: String

The custom environment name. (Number) This value is filled automatically by the RumMonitor.

ERROR_DATABASE_PATH

const val ERROR_DATABASE_PATH: String

The path of the Database that triggered the error. This value is filled automatically by the RumMonitor.

ERROR_DATABASE_VERSION

const val ERROR_DATABASE_VERSION: String

The version of the Database that triggered the error. This value is filled automatically by the RumMonitor.

ERROR_FINGERPRINT

const val ERROR_FINGERPRINT: String

Specifies a custom error fingerprint for the supplied error.

ERROR_RESOURCE_METHOD

const val ERROR_RESOURCE_METHOD: String

Indicates the action performed by the Resource which triggered the error. (String) This value is filled automatically by the RumMonitor and the DatadogInterceptor.

See also
RumMonitor.startResource

ERROR_RESOURCE_STATUS_CODE

const val ERROR_RESOURCE_STATUS_CODE: String

The HTTP response status code for the Resource which triggered the error. (Number) This value is filled automatically by the DatadogInterceptor.

See also
RumMonitor.stopResourceWithError

ERROR_RESOURCE_URL

const val ERROR_RESOURCE_URL: String

The URL of a loaded Resource which triggered the error. (String) This value is filled automatically by the RumMonitor and the DatadogInterceptor.

See also
RumMonitor.stopResourceWithError

GRAPHQL_OPERATION_NAME

const val GRAPHQL_OPERATION_NAME: String

GraphQL operation name coming from cross-platform SDK (String).

GRAPHQL_OPERATION_TYPE

const val GRAPHQL_OPERATION_TYPE: String

GraphQL operation type coming from cross-platform SDK (String).

GRAPHQL_PAYLOAD

const val GRAPHQL_PAYLOAD: String

JSON representation of GraphQL payload coming from cross-platform SDK (String).

GRAPHQL_VARIABLES

const val GRAPHQL_VARIABLES: String

JSON representation of GraphQL variables type coming from cross-platform SDK (String).

INTERNAL_ERROR_IS_CRASH

const val INTERNAL_ERROR_IS_CRASH: String

Overrides the default RUM error source is_crash with a custom one.

INTERNAL_ERROR_SOURCE_TYPE

const val INTERNAL_ERROR_SOURCE_TYPE: String

Overrides the default RUM error source type with a custom one.

INTERNAL_ERROR_TYPE

const val INTERNAL_ERROR_TYPE: String

Overrides the automatic RUM error event type with a custom one.

INTERNAL_TIMESTAMP

const val INTERNAL_TIMESTAMP: String

Overrides the automatic RUM event timestamp with a custom one.

LONG_TASK_TARGET

const val LONG_TASK_TARGET: String

The Long Task target info. (String)

NETWORK_BYTES_READ

const val NETWORK_BYTES_READ: String

Total number of bytes transmitted from the client to the server. (Number)

NETWORK_CARRIER_ID

const val NETWORK_CARRIER_ID: String

The unique id of the Carrier attached to the SIM card. (Number) This value is filled automatically by the RumMonitor for resources and errors.

NETWORK_CARRIER_NAME

const val NETWORK_CARRIER_NAME: String

The name of the Carrier attached to the SIM card. (String) This value is filled automatically by the RumMonitor for resources and errors.

NETWORK_CONNECTIVITY

const val NETWORK_CONNECTIVITY: String

The connectivity status of the device. (String) This value is filled automatically by the RumMonitor for resources and errors.

NETWORK_DOWN_KBPS

const val NETWORK_DOWN_KBPS: String

The downstream bandwidth for the current network in Kbps. (Number) This value is filled automatically by the RumMonitor for resources and errors.

NETWORK_SIGNAL_STRENGTH

const val NETWORK_SIGNAL_STRENGTH: String

The bearer specific signal strength. (Number) This value is filled automatically by the RumMonitor for resources and errors.

NETWORK_UP_KBPS

const val NETWORK_UP_KBPS: String

The upstream bandwidth for the current network in Kbps. (Number) This value is filled automatically by the RumMonitor for resources and errors.

RESOURCE_TIMINGS

const val RESOURCE_TIMINGS: String

Timings coming from external sources, as object { startTime (number) + duration (number) }.

RULE_PSR

const val RULE_PSR: String

Tracing Sample Rate for the resource tracking, between zero and one. (Number) This value is filled automatically by the DatadogInterceptor.

SDK_VERSION

const val SDK_VERSION: String

Version of the current Datadog SDK.

SERVICE_NAME

const val SERVICE_NAME: String

The name of the application or service generating the rum events. (String) This values is configurable through the Configuration.Builder during the SDK initialization. By default it will take the application package name.

SOURCE

const val SOURCE: String

The technology from which the log originated. (String) This value is filled automatically by the RumMonitor.

SPAN_ID

const val SPAN_ID: String

Span Id related to the resource loading. (Number) This value is filled automatically by the DatadogInterceptor.

TRACE_ID

const val TRACE_ID: String

Trace Id related to the resource loading. (Number) This value is filled automatically by the DatadogInterceptor.

VARIANT

const val VARIANT: String

The application variant. (String) This value is filled automatically by the RumMonitor.

Clone this wiki locally