New Relic Mobile helps you gain deeper visibility into how to analyze your Android and iOS application performance and troubleshoot crashes. You can also examine HTTP and other network performance for unexpected lag, which will in turn help you collaborate more efficiently with your backend teams.
How we use New Relic Mobile
New Relic has its own mobile developers who create iOS and Android apps so our customers can monitor New Relic on the go. During one recent feature deploy, we encountered a small bug that caused an edge case crash with our Android app. This happened after we had created, tested, and deployed the new feature.
Because we work at New Relic, we also use New Relic to analyze and troubleshoot our mobile apps. To give you an idea of how to explore the power of New Relic Mobile, here's an example of how our own mobile engineers used it to track this small bug.
- 1. Alert notification shows new version crashes
The night after a new release, our on-call developer received an alert notification on his mobile phone. The Alerts page indicated that some customers were seeing crashes on the new version of New Relic's Android app.
Moving to his desktop browser, he checked the Mobile Apps Overview page. The Overview page showed an increase in crashes for the newest version. By filtering for the latest version and setting the time picker to the past 24 hours, he could proceed with crash analysis.
- 2. Crash analysis pinpoints exception, location, and more
By clicking the Crashes chart title on the Mobile Apps Overview page, the Crash analysis page opened with the same 24-hour time frame and filter to this Android version. Now he could see a significant number of crashes for the selected version, which reinforced his suspicion there was bad code somewhere in the recent deployment.
He clicked the link for the crash type to examine the exception, location, and error message. He also examined the stack trace, interaction trail, and event trail to quickly understand where users were impacted.
From here he saw the error. The new feature had a specific line of bad code that was crashing the app for customers who only used New Relic to monitor one app rather than multiple apps. The team released a hot fix in less than an hour, and the crash rate quickly de-escalated to 0.2%.
- 3. Problem solved, focus on improving app performance
The problem was solved, but the team continues to use New Relic Mobile to make sure the most important workflows are running correctly and quickly. We also share HTTP and other network performance trends with our backend API developer teams.
Improve frontend and backend performance
More than a tool for crash analysis, New Relic Mobile can help you identify opportunities to speed app performance. For example, you can:
- Create Insights dashboards to query, visualize, and share performance data.
- Identify handled exceptions to streamline workflows.
- See trends with sessions, devices, geographical locations, operating systems, carriers, requests and responses, etc. with crash profiles and HTTP profiles.
- Set up alert notifications for execution time, errors, etc.
- Define custom attributes and events to obtain additional, specific details about the mobile data that matters the most to your organization.
Great mobile apps increasingly rely on backend systems to power their functionality, such as requesting product information, authenticating users, or streaming media content. But some backend issues can lead to upstream mobile app crashes, freezes, and broken functionality that impacts end users, including:
- Changed or non-versioned API endpoints
- Bad payloads
- API timeouts
- Slow or deprecated API endpoints
You can use the network pages in the Mobile UI to identify problems that surface through HTTP requests, errors, and other network issues. You can also use New Relic Insights to query the data available to you through New Relic. Then create dashboards and share this information with backend API developer teams and others in your organization to help improve the overall end user experience with your mobile app.
Get started with Mobile
Before you install and configure New Relic Mobile's functionality for your mobile applications, follow these guidelines for compatibility and other requirements:
Then follow standard procedures to sign up with New Relic:
- From your browser, go to New Relic's signup page.
- Complete all required information, and select the type of app: iOS, Android, etc.
- Select Sign up now.
- Continue with the installation and configuration procedures for your Android, iOS, tvOS, or Cordova application.