Error user events capture various types of errors that occur during user interactions, including application crashes, ANR errors, JavaScript exceptions, CSP violations, and API-reported errors.
Semantic conventions to describe Application Not Responding (ANR) events in Dynatrace RUM. These conventions are supported only for OneAgent for Mobile.
This query searches for all ANR events.
fetch user.events| filter characteristics.has_anr == true
| Attribute | Type | Description | Examples |
|---|---|---|---|
| string | experimentalFixed value |
|
| boolean | stableFixed value |
|
| boolean | stableFixed value |
|
| Attribute | Type | Description | Examples |
|---|---|---|---|
| uid | experimentalA unique identifier for error grouping. The |
|
| boolean | experimentalAlways |
|
| string | experimentalA human-readable version of |
|
| string | experimentalThe main error type. This information is determined by Dynatrace RUM error grouping. |
|
| Attribute | Type | Description | Examples |
|---|---|---|---|
| string | experimentalA message that describes the exception. |
|
| string | experimentalThe stack trace of the ANR error. The format depends on the technology and source. |
|
The basic attributes for all user events are defined in the user event base model.
Semantic conventions for W3C Content Security Policy (CSP) rule violations in Dynatrace RUM. These conventions are only supported for RUM JavaScript.
This query searches for all violations of the Content Security Policy (CSP).
fetch user.events| filter characteristics.has_csp_violation == true
| Attribute | Type | Description | Examples |
|---|---|---|---|
| string | experimentalFixed value |
|
| boolean | stableFixed value |
|
| boolean | stableFixed value |
|
| Attribute | Type | Description | Examples |
|---|---|---|---|
| uid | experimentalA unique identifier for error grouping. The |
|
| boolean | experimentalIf set to |
|
| string | experimentalA human-readable version of |
|
| string | experimentalThe error reason. RUM JavaScript reports a pre-defined set of values. |
|
| string | experimentalThe main error type. This information is determined by Dynatrace RUM error grouping. |
|
| Attribute | Type | Description | Examples |
|---|---|---|---|
| string | experimentalThe absolute URI of the resource that was blocked from loading by the Content Security Policy. The field may also contain one of these special values instead of a URL: |
|
| string | experimentalThe URI scheme component. This is extracted from |
|
| string | experimentalThe URI domain component. This is extracted from |
|
| string | experimentalThe URI path component. This is extracted from |
|
| string | experimentalThe URI query component. This is extracted from | |
| string | experimentalThe URI fragment component. This is extracted from | |
| string | experimentalThe provider type for the host name of |
|
| string | experimentalThe full URI of the document in which the violation occurred. |
|
| string | experimentalThe URI scheme component. This is extracted from |
|
| string | experimentalThe URI domain component. This is extracted from |
|
| string | experimentalThe URI path component. This is extracted from |
|
| string | experimentalThe URI query component. This is extracted from | |
| string | experimentalThe URI fragment component. This is extracted from | |
| string | experimentalThe referrer of the document in which the violation occurred. |
|
| string | experimentalIndicates whether the Content Security Policy was enforced or only reported. |
|
| string | experimentalThe policy directive that was violated, as it appears in the policy. |
|
| string | experimentalThe directive whose enforcement caused the violation. |
|
| string | experimentalThe original policy as specified by the HTTP |
|
| long | experimentalThe HTTP status code of the resource on which the global object was instantiated. |
|
| string | experimentalIf the directive's value contains the expression | |
| long | experimentalLine number where the violation occurred. |
|
| long | experimentalColumn number where the violation occurred. |
|
| string | experimentalThe full URL (from which the external file was loaded) that caused the violation. |
|
| string | experimentalHow the CSP violation was captured on site. |
|
| string | experimentalThe stack trace that RUM JavaScript collected for the CSP rule violation by firing an exception. |
|
csp.blocked_uri.provider MUST be one of the following:
| Value | Description |
|---|---|
| CDN (content delivery network). |
| First-party provider. |
| Third-party provider. |
csp.disposition MUST be one of the following:
| Value | Description |
|---|---|
| The HTTP |
| The HTTP |
csp.reporter MUST be one of the following:
| Value | Description |
|---|---|
| The CSP violation was captured via the |
| The CSP violation was captured via the |
The basic attributes for all user events are defined in the user event base model.
Semantic conventions to describe crash events in Dynatrace RUM. These conventions are supported only for OneAgent for Mobile.
This query searches for all crashes.
fetch user.events| filter characteristics.has_crash == true
| Attribute | Type | Description | Examples |
|---|---|---|---|
| string | experimentalFixed value |
|
| boolean | stableFixed value |
|
| boolean | stableFixed value |
|
| Attribute | Type | Description | Examples |
|---|---|---|---|
| uid | experimentalA unique identifier for error grouping. The |
|
| boolean | experimentalIf set to |
|
| string | experimentalA human-readable version of |
|
| string | experimentalThe main error type. This information is determined by Dynatrace RUM error grouping. |
|
| Attribute | Type | Description | Examples |
|---|---|---|---|
| string | experimentalThe signal that was sent to the process. |
|
| string | experimentalA message that describes the exception. |
|
| string | experimentalThe stack trace of the crash or a full crash report. The format depends on the technology and source. |
|
| string | experimentalThe type of the exception, for example, its fully-qualified class name or the crash type of a native crash in an Android application. |
|
The basic attributes for all user events are defined in the user event base model.
Semantic conventions to describe error events reported via the Dynatrace API. These conventions are supported only for OneAgent for Mobile.
This query searches for all errors reported via the Dynatrace API.
fetch user.events| filter characteristics.has_error AND characteristics.is_api_reported
| Attribute | Type | Description | Examples |
|---|---|---|---|
| string | experimentalFixed value |
|
| boolean | stableFixed value |
|
| boolean | stableFixed value |
|
| Attribute | Type | Description | Examples |
|---|---|---|---|
| long | experimentalThe code of the error. Set for iOS (NSError and Swift Error) and custom errors for C-based languages. |
|
| boolean | experimentalIf set to |
|
| uid | experimentalA unique identifier for error grouping. The |
|
| string | experimentalA human-readable version of |
|
| string | experimentalThe error reason. RUM JavaScript reports a pre-defined set of values. OneAgent for iOS reports |
|
The semantics for exceptions reported via the Dynatrace API are defined in the exception model.
The basic attributes for all user events are defined in the user event base model.
Semantic conventions to describe exceptions in Dynatrace RUM.
This query searches for all exceptions.
fetch user.events| filter characteristics.has_exception == true
| Attribute | Type | Description | Examples |
|---|---|---|---|
| string | experimentalFixed value |
|
| boolean | stableFixed value |
|
| boolean | stableFixed value |
|
| boolean | stableAdditional characteristic: If set to |
|
| Attribute | Type | Description | Examples |
|---|---|---|---|
| boolean | experimentalIf set to |
|
| uid | experimentalA unique identifier for error grouping. The |
|
| boolean | experimentalIf set to |
|
| string | experimentalA human-readable version of |
|
| string | experimentalThe error reason. RUM JavaScript reports a pre-defined set of values. OneAgent for iOS reports |
|
| string | experimentalThe error source. |
|
| string | experimentalThe main error type. This information is determined by Dynatrace RUM error grouping. |
|
| Attribute | Type | Description | Examples |
|---|---|---|---|
| long | experimentalThe column number where the exception happened. Only supported by RUM JavaScript, the value is reported as provided by the browser. |
|
| string | experimentalThe URI domain component. This is extracted from |
|
| string | experimentalThe full file location when the exception happened. Only supported by RUM JavaScript, the value is reported as provided by the browser. |
|
| string | experimentalThe URI path component. This is extracted from |
|
| string | experimentalThe provider type for the host name of |
|
| boolean | experimentalIf set to |
|
| boolean | experimentalIf set to |
|
| long | experimentalThe line number where the exception happened. Only supported by RUM JavaScript, the value is reported as provided by the browser. |
|
| string | experimentalThe line offset mapping for source lines shifted by instrumentation. Only supported by OneAgent for iOS used with SwiftUI instrumentor. |
|
| string | experimentalA message that describes the exception. |
|
| string | experimentalThe stack trace of the exception. The format depends on the technology and source. While OneAgent formats stack traces to unify them across technologies, stack traces from an OpenTelemetry source are in the format they were sent to Dynatrace. |
|
| string | experimentalThe type of the exception, for example, its fully-qualified class name. |
|
The basic attributes for all user events are defined in the user event base model.