• EnglishEspañol日本語한국어Português
  • Log inStart now

Events reported by mobile monitoring

Our reports event data that is displayed in some UI displays and is also available for querying and charting. Select an event name in the following table to see its attributes.

Event

Description

Mobile

A Mobile event is created when a crash occurs, when an interaction ends or has run for 1 second, or if a session completes after the app is closed, backgrounded, or has run for 10 minutes. Mobile events were once the only event type and were generated for every event, but now there are several specialized event types.

MobileApplicationExit

A MobileApplicationExit event is generated when an app terminates, either due to a crash or other reasons such as low memory, ANRs, etc. This event provides valuable insights into the circumstances surrounding the app's termination and includes attributes such as the reason, exit code, and description for an app’s termination.

Currently, the MobileApplicationExit event is reported only for Android mobile applications. It leverages Android’s ApplicationExitInfo API to monitor and report on the different reasons for your app’s termination.

MobileBreadcrumb

There are no attributes listed for this event; attributes will include the session attributes and any custom attributes added.

MobileCrash

The MobileCrash event is created when an app crashes. MobileCrash includes attributes such as crash line number, class, and crash message.

MobileHandledException

MobileHandledException is sent when an exception is caught and is used for non-fatal exceptions reported to New Relic using the recordHandledException API call.

The exceptions will be visible in queries of this event and on the Handled exceptions UI page, including stack traces.

MobileRequest

A MobileRequest event is created when an HTTP request successfully completes, resulting in a response code below 400.

New Relic MobileRequest data is enabled by default for:

  • Android version 5.15.2 or higher

  • iOS version 6.0.0 or higher

    For earlier versions, starting with Android version 5.14.0 or iOS version 5.14.0, you must enable the feature. Upgrade to the latest Android or iOS version, or enable the NetworkRequests feature flag by using the Android or iOS configuration settings.

MobileRequestError

A MobileRequestError is used for HTTP errors or network failures. HTTP errors are HTTP requests that have a status code greater than 400. A network failure is an HTTP request that results in no response. The event is sent when the HTTP request completes.

MobileSession

A MobileSession event is sent when an app is closed, backgrounded, or when 10 minutes of active use has elapsed. This is the source of the general session data used by the other mobile monitoring events. MobileSession captures attributes such as device type, device OS, and geographical information.

MobileUserAction

There are no attributes listed for this event; attributes will include the session attributes and any custom attributes added.

This event is recorded when assuming some user action caused the agent to start/return to foreground or stop/return to background when distributed tracing feature is enabled.

Custom events

There is no attribute list for this event type because it is a custom event; attributes will include the session attributes and any custom attributes that you add.

Related documentation:

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.