Create calculated metrics for web 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 metric
To create a calculated metrics from your application
In the Dynatrace menu, go to Web.
Select the application for which you want to create a metric.
Scroll down to Impact of user actions on performance, and then select Analyze performance.
On the Multidimensional analysis: Performance page, select the desired timeframe, options, and filters.
Select an Analyze by option and a performance metric that you want to create the metric for.
optional Use the filter bar to add filters for geolocations, browser versions, user action properties, 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>.
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.