How do I create custom charts?

Custom charts enable you to analyze any combination of monitoring metrics directly on your dashboards.

You can add up to 5 metrics to a single chart. For each metric, a chart shows the top 15 entities. The table beneath the chart contains up to 85 more entities, bringing the total of entities available for charting to 100.

You can apply splitting and filters to available entities to fine-tune the metric dimensions that appear in custom charts and to filter for only those monitored entities that are relevant to your analysis. As soon as an entity reaches one of the top 15 rows in the result table, that entity is displayed in the chart.

Custom chart

Create custom chart

To create a custom chart

  1. Select Create custom chart from the navigation menu. Alternatively, you can select the Custom chart tile from the Tile catalog.
  2. From the Select metric droplist on the Custom chart page, select a metric related to the services, applications, processes, or hosts you want to analyze. For this example, we've selected the metric Processes - JVM GC time.
  3. Expand the table row of the newly added chart metric by clicking the Details button (see highlight in image below) to access the available charting options of the newly added chart metric. Metric details in custom chart
  4. Available charting options and metric dimensions vary based on the selected metric. Some charts have a Chart type droplist that provides options for different chart types (for example, Line, Stacked area, and Stacked bar). Some charts provide a droplist with options for the data Aggregation method (for example, Minimum, Slowest 10%, and Median). Select appropriate values for your custom chart.
  5. Optionally, see Splitting and filtering below to fine-tune how this metric appears in your chart.
  6. Optionally, add additional metrics to your chart by clicking the Add metric button.
  7. Click the Edit button (pen icon in the upper-left corner of the page) and type in an intuitive name for your custom chart.
  8. Once you're satisfied with your new chart, save it.
    • versions up to 1.150 Click the Save to dashboard button. This saves the chart to your active dashboard.
    • version 1.150 and later Click the Pin to dashboard button. Select the dashboard, where you want to place the new chart and click the Pin button. Then click Open dashboard button.
  9. Drag the chart tile to the required position on your dashboard and resize as required.
  10. To save your changes, click the Done button.

Splitting and filtering

Many of the available metrics provided by Dynatrace are comprised of multiple dimensions, which you can selectively include or exclude from your custom charts (otherwise known as "metric splitting"). Dynatrace also enables you to subsequently filter on the constituent metric dimensions using entity tags. By selecting specific metric dimensions and then filtering on those dimensions using entity tags, you can easily isolate only the specific metric dimensions of those monitored entities that you want to chart—thereby making your custom charts far more targeted and relevant.

Metric splitting

Some metrics have varying sets of constituent metric dimensions. For example, the Processes JVM GC time metric (see example below) has four generic metric dimensions you can select for inclusion in your charts: Process (the process itself, which is selected by default), poolname, Process ID, and gcname.

To split a metric

  1. Continuing on from Step 3 above, expand the table row of the metric you want to split (if not expanded already) by clicking the Details button in the right hand column.
  2. Select the option box of each metric dimension you want included in the chart (the poolname and gcname dimensions are selected in the example below).
  3. All changes are immediately reflected in the chart preview above. Your changes are saved automatically.

Filtering based on tagging

Apart from "splitting" by selecting specific metric dimensions, you can additionally apply filtering based on entity tags. Filters apply to all tagged entities across all metric dimensions, regardless of which metric dimension you apply your tags.

To filter metric dimensions using entity tags

  1. Continuing on from Step 3 at the top of this page, expand the table row of the metric you want to split (if not expanded already) by clicking the Details button in the right hand column.
  2. Place your cursor into the Filtered by field of the metric dimension you want to filter. The list of available tagged entities is displayed in a droplist. Note in the example below (before tagging is applied) that 46 results are returned by the current metric settings. Filter metric dimensions with entity tags
  3. Select the tags you want to use for filtering. Just start typing to select a tag by name. Note in the example below that by selecting the CMS Old Gen tag on the poolname metric dimension, the list of matching entities has been narrowed down to 7 results. Filter metric dimensions using entity tags
  4. All changes are immediately reflected in the chart preview above. Your changes are saved automatically.