When you own an app, you need to know right away when something goes wrong so you can fix it before it impacts too many users. Even small delays can impact user retention and revenue, so alerts are essential for stopping performance-related churn before it starts.App performance alerts are here. Using Instabug APM, you can set alerts for a wide variety of app performance situations and forward them to the right channel. In this article, we’ll give examples of the types of alerts you can create and show you how to create and customize them.
Instabug APM alert types
You can set alerts related to crashes and app performance thresholds. In this article, we’ll focus on app performance monitoring metrics. Alerting is key to a robust app performance management strategy.Here are some specific examples of situations that you can set alerts for:
- Receive alerts when any network requests exceed an average response time of 2 seconds
- Receive alerts when payment network requests average in excess of 2 seconds and have failure rates greater than 10%
- Receive alerts when the cold app launch apdex score drops
- Receive alerts when the UI controller named Signup has an Apdex score lower than 0.5
- Receive alerts when the overall app apdex score drops
Setting alerts is simple. You just need to choose the metric you want to track, specify any details and conditions, and choose where you want it forwarded. We’ll walk you through the alert setup below.These are the app performance monitoring metrics you can set alerts for:
- Network performance
- UI hangs
- Cold and hot app launches
- Execution traces
- Overall Apdex score
You can add customizations to your alerts for specific attributes of the metric you’re measuring. For example, those might include response times, 95th percentiles, failure rates, rate of change, app version, or specific trace names.
How to set alerts with Instabug
Now let’s walk through setting an alert. In just a few steps, you’ll be ready to go.To get started, first open the rules page from your dashboard. You can find the rules page in the sidebar navigation menu under "settings". Select "rules" to get started.
Next, select the "create rule" button from your rules page.
From the dropdown menu, choose the metric you want alerts for. For this example, we want a notification if our cold app launch exceeds 2.5 seconds. So first, we’ll select app launches from the list.
Now it’s time to choose the trigger for your alert. You can use Apdex score for any of your metrics, but since we’re specifically targeting launches over 2.5 seconds, we’ll select P95, then enter the value and select the desired time interval.
Time to set the conditions for the alert. If you have more than one condition, you can add them by selecting the "add condition" button in the conditions row. In this example, we’ll start by selecting cold app launch.
Let’s say we have additional conditions. For example, perhaps we only care about the latest version. So we’ll add another condition, select"app version" and choose the version number.
In our final step, it’s time to decide how you want to receive your alert. If you have more than one desired recipient, you can select the "add action" button to the right. Finally, give your alert a title and save it.
And that’s it — we’ve now set up an alert for cold app launches that fail the target threshold of 2.5 seconds. And now when an issue appears, you’ll know right away. You can add more alerts anytime from the rules page. For information on setting performance targets, check out our post "APM KPIs: Mobile App Performance Monitoring Metrics and Targets".
- 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
Instabug empowers mobile teams to maintain industry-leading apps with mobile-focused, user-centric stability and performance monitoring.