Join CTO Moataz Soliman as he explores the potential impact poor performance can have on your bottom line. 👉 Register Today

ebook icon

User Guides

General

Debugging Network Performance With Instabug: Isolate and Resolve Issues Faster

Debug network performance in mobile apps

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.

Contents

  • Getting started
  • Network list page
  • URL trends
  • Setting alerts

Getting started

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.

Instabug groups related URLs together automatically so you don't have to spend time doing it yourself.

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.

URL trends

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.

throughput
The top of the Trends page gives you a quick performance overview, including Apdex performance scores and throughput over time.

Apdex

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

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.

P50

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.

Failure rate

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.

failure rates
Both client-side and server-side failures will be displayed for each attribute you’re tracking with Instabug APM, along with Apdex, average duration, 95th percentile, and counts. Sort by descending to see which issues are severe and need immediate attention.

Patterns

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.

Outlier insights: Instabug APM detects and highlights deviations from the norm. When a specific dimension stands out and contributes to a significant number of samples, APM flags the details as outliers.

Dimensions

Instabug gathers and groups data from multiple dimensions, including app version, device, OS, app status, attributes, and custom experiments.

Use the Dimensions tabs to view performance metrics for different dimensions.

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.

Setting alerts

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

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.

Find out how you can optimize your app performance with Instabug.

Tags

App Performance Monitoring

How To

Workflows

Start Your 14-Day Free Trial for Realtime Contextual Insights

In less than a minute, integrate the Instabug SDK for iOS, Android, React Native, Xamarin, Cordova, Flutter, and Unity mobile apps