Errors

  • Reference
  • Published Jan 14, 2026

Application Not Responding (ANR)

Semantic conventions to describe Application Not Responding (ANR) events in Dynatrace RUM. These conventions are supported only for OneAgent for Mobile.

Query

This query searches for all ANR events.

fetch user.events
| filter characteristics.has_anr == true

ANR characteristics

AttributeTypeDescriptionExamples
characteristics.classifierstringexperimental
Fixed value error.
error
characteristics.has_anrbooleanexperimental
Fixed value true.
true
characteristics.has_errorbooleanexperimental
Fixed value true.
true

ANR error attributes

AttributeTypeDescriptionExamples
error.iduidexperimental
A unique identifier for error grouping. The error.id is a 16-byte ID and hex-encoded if shown as a string.
357bf70f3c617cb34584b31bd4616af8
error.is_fatalbooleanexperimental
Always true for ANR errors because the non-responsive app resulted in a fatal exit.
true
error.namestringexperimental
A human-readable version of error.id.
500: foo.bar/path/file; path/file:1:5
error.typestringexperimental
The main error type. This information is determined by Dynatrace RUM error grouping.
anr

ANR exception attributes

AttributeTypeDescriptionExamples
exception.messagestringexperimental
A message that describes the exception.
user request after error: Input dispatching timed out (f9276c4 com.example\/com.example.MainActivity (server) is not responding. Waited 10001ms for MotionEvent)
exception.stack_tracestringexperimental
The stack trace of the ANR error. The format depends on the technology and source.
"main" prio=5 tid=1 Sleeping\n | group="main" sCount=1 ucsCount=0 flags=1 obj=0x739329b8 self=0x7f3c8a64c7b0\n at java.lang.Thread.sleep(Native method)

Basic user event attributes

The basic attributes for all user events are defined in the user event base model.

Content Security Policy (CSP) rule violation

Semantic conventions for W3C Content Security Policy (CSP) rule violations in Dynatrace RUM. These conventions are only supported for RUM JavaScript.

Query

This query searches for all violations of the Content Security Policy (CSP).

fetch user.events
| filter characteristics.has_csp_violation == true

CSP characteristics

AttributeTypeDescriptionExamples
characteristics.classifierstringexperimental
Fixed value error.
error
characteristics.has_csp_violationbooleanexperimental
Fixed value true.
true
characteristics.has_errorbooleanexperimental
Fixed value true.
true

CSP error attributes

AttributeTypeDescriptionExamples
error.iduidexperimental
A unique identifier for error grouping. The error.id is a 16-byte ID and hex-encoded if shown as a string.
357bf70f3c617cb34584b31bd4616af8
error.is_fatalbooleanexperimental
If set to true, the error resulted in a fatal exit (for example, an unhandled exception).
false
error.namestringexperimental
A human-readable version of error.id.
500: foo.bar/path/file; path/file:1:5
error.reasonstringexperimental
The error reason. RUM JavaScript reports a pre-defined set of values.
no network
error.typestringexperimental
The main error type. This information is determined by Dynatrace RUM error grouping.
csp

CSP rule violation report attributes

AttributeTypeDescriptionExamples
csp.blocked_uri.fullstringexperimental
The full URI of the resource that was blocked from loading by the Content Security Policy.
https://www.foo.bar/resources/file.js; inline
csp.blocked_uri.schemestringexperimental
The URI scheme component. This is extracted from csp.blocked_uri.full.
https
csp.blocked_uri.domainstringexperimental
The URI domain component. This is extracted from csp.blocked_uri.full.
www.foo.bar
csp.blocked_uri.pathstringexperimental
The URI path component. This is extracted from csp.blocked_uri.full.
/resources/file.js
csp.blocked_uri.querystringexperimental
The URI query component. This is extracted from csp.blocked_uri.full.
csp.blocked_uri.fragmentstringexperimental
The URI fragment component. This is extracted from csp.blocked_uri.full.
csp.blocked_uri.providerstringexperimental
The provider type for the host name of csp.blocked_uri.full. This information is determined by Dynatrace RUM resource detection.
third_party
csp.document_uri.fullstringexperimental
The full URI of the document in which the violation occurred.
https://www.foo.bar/
csp.document_uri.schemestringexperimental
The URI scheme component. This is extracted from csp.document_uri.full.
https
csp.document_uri.domainstringexperimental
The URI domain component. This is extracted from csp.document_uri.full.
www.foo.bar
csp.document_uri.pathstringexperimental
The URI path component. This is extracted from csp.document_uri.full.
/
csp.document_uri.querystringexperimental
The URI query component. This is extracted from csp.document_uri.full.
csp.document_uri.fragmentstringexperimental
The URI fragment component. This is extracted from csp.document_uri.full.
csp.referrer.fullstringexperimental
The referrer of the document in which the violation occurred.
https://www.foo.bar/
csp.dispositionstringexperimental
If set to enforce, the HTTP Content-Security-Policy response header is used and the request was actually blocked. If set to report, the HTTP Content-Security-Policy-Report-Only response header is used and the request was not blocked.
enforce
csp.violated_directivestringexperimental
The policy directive that was violated, as it appears in the policy.
default-src
csp.effective_directivestringexperimental
The directive whose enforcement caused the violation.
style-src
csp.original_policystringexperimental
The original policy as specified by the HTTP Content-Security-Policy or the HTTP Content-Security-Policy-Report-Only response header.
default-src 'none'; style-src cdn.foo.bar; report-to /_/csp-reports
csp.status_codelongexperimental
The HTTP status code of the resource on which the global object was instantiated.
200
csp.samplestringexperimental
If the directive's value contains the expression report-sample, this is set to the first 40 characters of the source file.
csp.line_numberlongexperimental
Line number where the violation occurred.
32
csp.column_numberlongexperimental
Column number where the violation occurred.
178
csp.source_file.fullstringexperimental
The full URL (from which the external file was loaded) that caused the violation.
https://www.foo.bar/
csp.reporterstringexperimental
Either ReportingObserver or SecurityPolicyViolationEvent depending on how the CSP violation got captured on site.
ReportingObserver
csp.stack_tracestringexperimental
The stack trace that RUM JavaScript collected for the CSP rule violation by firing an exception.
@https://www.foo.bar/path/main.js:59:26 e@https://www.foo.bar/path/lib/1.1/lib.js:2:30315

csp.blocked_uri.provider MUST be one of the following:

ValueDescription
cdnCDN (content delivery network).
first_partyFirst-party provider.
third_partyThird-party provider.

CSP user action attributes

Only available for user events sent by RUM JavaScript and in case a user action was active when the CSP rule violation occurred.

AttributeTypeDescriptionExamples
user_action.instance_iduidexperimental
The ID of the active user action. The user_action.instance_id is an 8-byte ID and hex-encoded if shown as a string.
f76281848bd8288c

Basic user event attributes

The basic attributes for all user events are defined in the user event base model.

Crash

Semantic conventions to describe crash events in Dynatrace RUM. These conventions are supported only for OneAgent for Mobile.

Query

This query searches for all crashes.

fetch user.events
| filter characteristics.has_crash == true

Crash characteristics

AttributeTypeDescriptionExamples
characteristics.classifierstringexperimental
Fixed value error.
error
characteristics.has_crashbooleanexperimental
Fixed value true.
true
characteristics.has_errorbooleanexperimental
Fixed value true.
true

Crash error attributes

AttributeTypeDescriptionExamples
error.iduidexperimental
A unique identifier for error grouping. The error.id is a 16-byte ID and hex-encoded if shown as a string.
357bf70f3c617cb34584b31bd4616af8
error.is_fatalbooleanexperimental
If set to true, the error resulted in a fatal exit (for example, an unhandled exception).
true
error.namestringexperimental
A human-readable version of error.id.
500: foo.bar/path/file; path/file:1:5
error.typestringexperimental
The main error type. This information is determined by Dynatrace RUM error grouping.
crash

Crash exception attributes

AttributeTypeDescriptionExamples
exception.crash_signal_namestringexperimental
The signal that was sent to the process.
SIGSEGV
exception.messagestringexperimental
A message that describes the exception.
Division by zero
exception.stack_tracestringexperimental
The stack trace of the crash or a full crash report. The format depends on the technology and source.
java.lang.ArithmeticException: divide by zero\n at com.example.Foo.bar(Foo.kt:14); signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr 0000000000000000\nThread-18:\n #00 pc 000000000005cb90 /apex/com.android.runtime/lib64/bionic/libc.so (abort+192) (BuildId: eb58b4d427279994f00c0e1818477e4f)
exception.typestringexperimental
The type of the exception, for example, its fully-qualified class name or the crash type of a native crash in an Android application.
java.net.ConnectException; OSError; char*

Basic user event attributes

The basic attributes for all user events are defined in the user event base model.

Dynatrace API reported error

Semantic conventions to describe error events reported via the Dynatrace API. These conventions are supported only for OneAgent for Mobile.

Query

This query searches for all errors reported via the Dynatrace API.

fetch user.events
| filter characteristics.has_error AND characteristics.is_api_reported

Dynatrace API reported error characteristics

AttributeTypeDescriptionExamples
characteristics.classifierstringexperimental
Fixed value error.
error
characteristics.has_errorbooleanexperimental
Fixed value true.
true
characteristics.is_api_reportedbooleanexperimental
Fixed value true.
true

Dynatrace API reported error attributes

AttributeTypeDescriptionExamples
error.codelongexperimental
The code of the error. Set for iOS (NSError and Swift Error) and custom errors for C-based languages.
-1; 3072
error.has_custom_namebooleanexperimental
If set to true, the error.name was reported via the Dynatrace API.
true
error.iduidexperimental
A unique identifier for error grouping. The error.id is a 16-byte ID and hex-encoded if shown as a string.
357bf70f3c617cb34584b31bd4616af8
error.namestringexperimental
A human-readable version of error.id.
500: foo.bar/path/file; path/file:1:5
error.reasonstringexperimental
The error reason. RUM JavaScript reports a pre-defined set of values. OneAgent for iOS reports nserror.domain.
no network

Dynatrace API reported exceptions

The semantics for exceptions reported via the Dynatrace API are defined in the exception model.

Basic user event attributes

The basic attributes for all user events are defined in the user event base model.

Exception

Semantic conventions to describe exceptions in Dynatrace RUM.

Query

This query searches for all exceptions.

fetch user.events
| filter characteristics.has_exception == true

Exception characteristics

AttributeTypeDescriptionExamples
characteristics.classifierstringexperimental
Fixed value error.
error
characteristics.has_errorbooleanexperimental
Fixed value true.
true
characteristics.has_exceptionbooleanexperimental
Fixed value true.
true
characteristics.is_api_reportedbooleanexperimental
Additional characteristic: If set to true, the user event was sent using the Dynatrace API.
true

Exception error attributes

AttributeTypeDescriptionExamples
error.has_custom_namebooleanexperimental
If set to true, the error.name was reported via the Dynatrace API.
true
error.iduidexperimental
A unique identifier for error grouping. The error.id is a 16-byte ID and hex-encoded if shown as a string.
357bf70f3c617cb34584b31bd4616af8
error.is_fatalbooleanexperimental
If set to true, the error resulted in a fatal exit (for example, an unhandled exception).
true
error.namestringexperimental
A human-readable version of error.id.
500: foo.bar/path/file; path/file:1:5
error.reasonstringexperimental
The error reason. RUM JavaScript reports a pre-defined set of values. OneAgent for iOS reports nserror.domain.
no network
error.sourcestringexperimental
The error source.
fetch; console
error.typestringexperimental
The main error type. This information is determined by Dynatrace RUM error grouping.
exception

Exception attributes

AttributeTypeDescriptionExamples
exception.column_numberlongexperimental
The column number where the exception happened. Only supported by RUM JavaScript, the value is reported as provided by the browser.
12304
exception.file.domainstringexperimental
The URI domain component. This is extracted from exception.file.full.
www.foo.bar
exception.file.fullstringexperimental
The full file location when the exception happened. Only supported by RUM JavaScript, the value is reported as provided by the browser.
https://www.foo.bar/path/main.js; main.js; <anonymous>
exception.file.pathstringexperimental
The URI path component. This is extracted from exception.file.full.
/path/main.js
exception.file.providerstringexperimental
The provider type for the host name of exception.file.full. This information is determined by Dynatrace RUM resource detection.
third_party
exception.is_stack_trace_generatedbooleanexperimental
If set to true, the captured stack trace was generated by Dynatrace RUM. This is only available if the user event contains a stack trace. Only supported by RUM JavaScript and OneAgent for Mobile with the Dynatrace Flutter extension.
false
exception.is_stack_trace_wrappedbooleanexperimental
If set to true, Dynatrace RUM wrapped the method that caused the exception. This is only available if the user event contains a stack trace. Only supported by RUM JavaScript and OneAgent for Mobile with the Dynatrace Flutter extension.
false
exception.line_numberlongexperimental
The line number where the exception happened. Only supported by RUM JavaScript, the value is reported as provided by the browser.
1401
exception.line_offsetsstringexperimental
The line offset mapping for source lines shifted by instrumentation. Only supported by OneAgent for iOS used with SwiftUI instrumentor.
{"generationTime":"2025-12-08 13:20:55","instrumentorVersion":"8.329","mappings":[{"ContentView.swift":{"1":3,"18":8,"25":13,"26":18,"27":23}},{"InstrDemoApp.swift":{"1":3,"13":4}}],"project":"Testproject.xcproject"}
exception.messagestringexperimental
A message that describes the exception.
Division by zero
exception.stack_tracestringexperimental
The 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.
@https://www.foo.bar/path/main.js:59:26 e@https://www.foo.bar/path/lib/1.1/lib.js:2:30315
exception.typestringexperimental
The type of the exception, for example, its fully-qualified class name.
java.net.ConnectException; OSError

Exception user action attributes

Only available for user events sent by RUM JavaScript and in case a user action was active when the exception occurred.

AttributeTypeDescriptionExamples
user_action.instance_iduidexperimental
The ID of the active user action. The user_action.instance_id is an 8-byte ID and hex-encoded if shown as a string.
f76281848bd8288c

Basic user event attributes

The basic attributes for all user events are defined in the user event base model.