In Dynatrace, you can create calculated metrics to make your current analysis available for charting and API usage. Calculated metrics can also be used to create 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 string properties, or only use single dimensions, such as user action properties.
Create a metric
- From the left-hand menu, select Applications.
- Select the application for which you want to create the metric.
- Scroll down to Impact of user actions on performance and select Analyze performance.
- On the Multi-dimensional 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.
- Use the metric to create a custom chart or alert.
In this example, we select
Price, a user action property which we split and filter by
Loyalty status, 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
Platinum. You can also create a metric and generate a custom chart.
Create custom charts based on calculated metrics
Creating custom charts for Real User Monitoring can help you to analyze combinations of RUM-related metrics directly from 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.
To create a custom chart
- From the left-hand menu, select Create custom chart.
Alternative options are to create a metric first or to select the Custom chart tile from the Tile catalog.
- Under Add metric, select Applications from the Category list and the calculated metric from the Metric list.
In this example, our calculated metric is
revenue by platinum customers.
- To access the available charting options of the newly added chart metric, expand the table row by selecting Details.
- [Optional] If you select Timeseries, you have the option to choose between the Line, Stacked area, and Stacked bar chart types.
- [Optional] You can choose an aggregation option from Average, Minimum, Maximum, Sum, or Count.
- [Optional] When available, select the Dimension by which you want to split the metric. Note: Application is the default dimension and can’t be changed for metrics that are based on double values.
- [Optional] Apply a filter to your chart results.
- To easily access your chart, click Pin to dashboard and select the desired dashboard.
To pin Revenue as a single value tile
- On the custom chart page, choose to view results as Single value.
- Select Pin to dashboard, select the desired dashboard, and select Pin.