• /
  • Log in
  • Free account

Interactions page

Mobile monitoring provides an engine that instruments your application code for Android and iOS apps and monitors your code as it services your user interactions. This is useful for analyzing time-consuming user activities. After you set up the SDK API for your Android or iOS app, you can view detailed information from the Interactions page.

Instrumentation

We offer SDK APIs to instrument interactions for Android and iOS apps. This includes:

  • Android: Activities, AsyncTask threading, and the performance of database, image loading, JSON parsing, and other common APIs
  • iOS: UIViewControllers, GCD dispatch_async, and the performance of CoreData, UIImage, NSJSON, and other common APIs

For more information, see Working with the Android SDK API and Working with the iOS SDK API.

Viewing the Interactions page

The Interactions page includes breakdown charts of the five most expensive interactions (including code executing on the main thread and code executing on worker threads), plus a list of the slowest traces.

To view the Interactions page:

  1. Go to one.newrelic.com > Mobile > (select an app) > App > Interactions.
  2. To drill down into detailed information, select any interaction, or use any of our standard user interface functions and page functions.

Tip

To go directly to Interactions from the Mobile apps overview page, select the Slowest interactions chart's title, or select any interaction to view detailed information.

Viewing breakdown table details

To show the full list of all instrumented methods: From the selected interaction, select the Breakdown table link. If you use custom instrumentation for any of the metrics, the category for the class and method name will indicate custom. For each traced method, the Interactions breakdown table shows:

  • Thread type (foreground or background)
  • Class and method name
  • Percentage of total execution time spent in this method
  • Average number of calls to this method per interaction
  • Overall average execution time of each call to this method

Viewing the Interactions timeline

Each interaction trace period records traces until a new interaction begins.

To view the Interactions timeline for your mobile app:

  1. Go to one.newrelic.com > Mobile > (select an app) > App > Interactions.
  2. From the Slowest traces table, select the Activity or Duration link for the trace.

OR:

  1. Go to one.newrelic.com > Mobile > (select an app) > App > Interactions > (select an interaction).
  2. From the Slowest traces table, select the Duration link for the trace.

As you mouse over the timeline, information appears for the method underneath, memory used by your application, and any active network requests. The row labels indicate which thread each method is running on. To view a waterfall of execution flow within a method, select a method block.

The Interactions timeline also provides on-device metrics to help you gain insight into your app's device level data. The usage metrics show how your app is interacting with your end users's devices. In addition to operating system metrics, the usage metrics include database, CPU, and memory.

  • To view the on-device usage metrics, mouse over the timeline.
  • To drill down into detailed information, select any location on the timeline.
  • To help provide context for the data, select the Previous interaction link.
Create issueEdit page
Copyright © 2022 New Relic Inc.