Network errors or delays are among the worst-case scenarios for app users, and consequently, developers. But capturing, diagnosing, and debugging network issues with Instabug Application Performance Monitoring makes mitigating these issues simple and straightforward.
Read on to learn more about how to use the network performance monitoring features that make identifying and debugging issues easier than brewing a cup of coffee.
- Getting started
- Network list page
- URL trends
- Setting alerts
To configure Instabug’s application performance monitoring features to capture network requests, follow the instructions in the documentation to activate the necessary plugin (iOS, Android, React Native, Flutter). Once you enable the plugin, network request monitoring will be turned on by default. You’ll also find instructions for additional customizations, including activating gRPC logging and setting trace attributes.
Network list page
After you’ve customized your settings, proceed to the network list page. This page provides a quick overview of the network URLs you’re tracking and any changes in performance. By default, it shows data from the last seven days; you can adjust your dates and filters at the top of the page. Using the search bar, you can also locate specific requests.
Apdex scores are the logical place to start when checking for regressions in performance. If an error occurred, you’ll see a drop in your Apdex score and the percent change from the prior week.
You can prioritize network issues by the number of users affected or the severity of the issue. The Dissatisfied count metric tells you how many of your app users are experiencing the issue. Sorting by dissatisfied count is a way to quickly prioritize high-impact issues.
To sort by severity, you can arrange your dashboard results by the percentage of network failures. From the filter bar, choose the type of failure (client-side or server-side) and specify the data range.
Finally, to reduce the amount of noise on your dashboard, Instabug sorts and groups calls automatically so that relevant requests are presented together and indicated with a *. You can also specify and track custom URL patterns, which is especially helpful if you have complex URLs containing variable strings. Read more about custom URL patterns and grouping logic here.
To inspect an individual trace for errors, click on the URL from the network list page. The Trends page gives you an array of information to spot and debug performance issues related to a specific request.
The Apdex timeline graph conveys an idea of a trace’s recent performance at a glance. Any regressions will show as a drop in the Apdex score. You can learn more about Apdex and setting thresholds in What Is Apdex? All About the Metric That Measures App Performance.
Throughput shows you how many requests have been made within a given time interval. In many cases, spikes in usage may precipitate latency. Many users requesting the same resources simultaneously can cause network congestion.
The P50 chart depicts the average performance of the request over time as measured in seconds. The distribution tab shows the number of occurrences for any given duration.
Instabug APM monitors both server- and client-side requests for failures. Typical APM tools are focused on server-side data, but that only offers half the app performance equation. By tracking client-side performance, too, you’ll unveil slow response times and errors from the user standpoint. Monitoring both client- and server-side failures is necessary for a complete understanding of your app’s network performance.
Observing patterns can help you isolate specific performance issues. Automatic pattern identification makes it easier to identify the sources of network delays. Instead of manually searching for outliers across your data, Application Performance Monitoring will point out patterns, including performance stats and Apdex impact.
Instabug gathers and groups data from multiple dimensions, including app version, device, OS, app status, attributes, and custom experiments.
Among the dimensions listed, payload size is likely to be one of the first areas you examine when confronted with network issues. If the payload size is the source of an issue, you can explore other solutions, such as size reduction or caching. Instabug APM shows you both the request and response payload sizes, rather than grouping them together as a total payload size—making it easier to track the whole picture.
The key to fixing performance problems before they impact your audience is to detect them as soon as possible. Performance alerting is the foundation of a robust app performance management strategy.
For example, you may want to establish alerts when a network request exceeds an average response time of two seconds, or failure rates rise above 5%. From the Rules menu, you can set your own network performance quality thresholds and receive immediate alerts for failures.
For a step-by-step guide to setting alerts, check out How to Set Up Alerts to Monitor Mobile App Performance With Instabug.
Swift issue resolution keeps performance high
Network performance monitoring with Instabug will help you diagnose and address issues swiftly. You can also troubleshoot other performance problems with APM, such as slow app launches. For further information regarding performance thresholds and targets, check out APM KPIs: Mobile App Performance Monitoring Metrics and Targets.
Learn about mobile app performance
- What is Apdex? All about the metric that measures app performance
- Understanding cold, hot and warm app launch time
- Mobile app quality: An essential guide
Get proactive with app performance: learn more about streamlining your performance monitoring workflow in our latest webinar recording.
Instabug’s triple threat of APM, Crash Reporting, and Bug Reporting tools will empower you to optimize your app’s performance and deliver the high-quality experience your users expect and deserve.