Create calculated metrics for mobile applications
In Dynatrace, you can create calculated metrics to make your current analysis available for charting and API usage. You can also leverage calculated metrics to add custom alerts.
Once you select the application you're interested in, you can use Multidimensional analysis to select aspects of your user actions and create a calculated metric. You can choose if you want to split your selected performance metrics by another dimension, such as geolocation, browser, and error type, or only use single dimensions, such as user action properties.
Create a calculated metric
To create a calculated metrics from your application
In the Dynatrace menu, go to Frontend.
Select the application for which you want to create a metric.
Under Top 3 actions, select Analyze performance.
Select the desired OS family, Contribution, timeframe, and Analyze by options.
optional Use the filter bar to add filters for geolocation, manufacturer, Apdex, and more to focus the resulting metric on what you're interested in.
Select Create metric.
optional Change the metric name and key, and turn on Split by <dimension name>.
For mobile and custom applications, you cannot split a metric by user action property. Splitting by user action property is available only for web applications.
Select Create metric.
Use the metric to create a custom chart or alert.
You can have up to 500 enabled calculated metrics per environment across all applications and up to 100 enabled calculated metrics per application.
In this example, let's analyze
Price, which is a user action property, and filter it by
Loyalty status, which is another user action property.
On the Multidimensional analysis page, select the timeframe for the analysis. To filter out prices paid by platinum customers only, we select
Price in the Analyze by list box and then set additional filters by selecting
Loyalty status, and
We can also create a metric and generate a custom chart.
Create custom charts based on calculated metrics
Creating charts can help you to analyze combinations of application metrics directly on your dashboard. You can split and filter available entities to fine-tune the metric dimensions that appear in your charts and filter out entities that are relevant to you.
For details on creating charts and pinning them to your dashboards, see Data explorer.