The dashboards discussed here are classic dashboards created using the dashboarding functionality integrated with previous Dynatrace.
To visualize your query results as a stacked column chart, select Stacked column
from the list above the query definition, in the upper-left corner of the page.
When switching between visualizations, be aware that some visualization settings are visualization-specific.
If you select a visualization and configure Settings for that visualization, and then you switch to a different visualization, some of your settings for the first visualization may be ignored because they don't apply to the newly selected visualization. An information icon in the list of visualizations will alert you to the possibility.
If you switch back to the original visualization, you may need to reconfigure some visualization settings.
Your visualization can show any selection of metrics in a multi-metric query.
To toggle metrics on and off, you can select the letter next to the metric you want to visualize, or you can select the eye icon .
The Settings section is one of the expandable sections in the right panel of Data Explorer. The contents of the Settings section may vary depending on the visualization you have selected.
Resolution is the X axis (time) granularity of the visualization.
Auto
Some resolutions are unavailable for some timeframes. If you select an incompatible combination of timeframe and resolution, Dynatrace automatically selects a resolution and displays an explanatory message such as: Auto-resolution applied. Resolution value of [6 hours] applied. Selected timeframe doesn't allow for [5 minutes] resolution.
To override auto-resolution, select a different resolution from the list.
To prevent performance issues on dashboard tiles created with Data Explorer, the maximum number of data points for a query on a dashboard tile is 4,000. Based on the selected timeframe and the applied custom resolution, Dynatrace projects the number of data points for the query result. If the projected number of data points exceeds 4,000, Dynatrace automatically switches to a resolution high enough to keep the number of data points below 4,000.
Note that this does not apply to visualizations in Data Explorer itself, where you can have more than 4,000 data points. It applies only to dashboard tiles created with Data Explorer where the resolution/timeframe combination selected on the dashboard results in more than 4,000 data points.
Whether to display a legend under the visualization.
Note that the legend is active: you can select a legend entry to toggle display of the corresponding entry on or off.
To connect gaps in a chart, in the Settings section, turn on Connect gaps.
The Settings section also displays visualization options per metric selected for the query.
You can change the name of a metric as it is displayed on the chart and in the chart legend. The query definition retains the metric's original name.
To change the chart mode for a metric, in the Settings section, select a new chart mode from the list.
To change the color palette for a metric, in the Settings section, select a new palette from the list.
Use the Unit and Format settings to determine how your data is displayed. If you export to a CSV file, the Unit and Format settings are also reflected in the exported values.
Use the Unit setting to set the unit in which the metric is displayed.
None
= No unit displayedAuto
= Dynatrace selects an appropriate display unit:setUnit(<unit>)
to select from a wider range of units.Examples of order-of-magnitude notation in Dynatrace:
Notation
Factor
Meaning
k
10^3
kilo, thousand
M
10^6
mega, million
G
10^9
giga, billion
T
10^12
tera, trillion
Use the Format setting to configure the number of decimal places displayed for the selected metric.
None
= No formatting.Auto
= Dynatrace selects an appropriate format. For example, where None
would display 5.062357754177517 %
, Auto
would display 5.06 %
.0
, 0.0
, 0.00
, 0.000
When the basic unit of the metric is bytes:
If you set Unit to Auto
, Dynatrace automatically expresses the results in a human-readable unit, which in this case could be GiB
.
A byte-based unit can have either a binary or decimal base, which will determine whether Dynatrace selects, for example, GiB
or GB
. If no base is defined in the metric itself, a decimal base is used.
If the automatically selected unit isn't suitable in your case, you can force Dynatrace to express the same values in a specific unit (Unit = B
, KiB
, MiB
, or GiB
).
If you want to see raw data (no conversion), you can set Unit to None
and see the results in the basic unit of the metric (which in this case is bytes).
When the basic unit of a metric is dollars and cents:
Auto
, and set Format to 0.00
(to have two decimal places for the cents).k (thousand)
, M (million)
, G (billion)
, and set Format to 0
(to see nothing after the decimal point).When the basic unit for the metric is a count:
To see an exact count:
Auto
None
To see a rough count:
k (thousand)
, M (million)
, G (billion)
, or T (trillion)
, depending on the magnitude of your values0.0
, 0.00
, or 0.0000
, depending on how many decimal places make sense in combination with the selected Unit settingWhen setting threshold values:
MiB
), the Threshold settings are then prepared to match the selected unit, so you just need to enter threshold values without specifying MiB
.Auto
(to let Dynatrace automatically scale the displayed output), you still need to set Threshold values in a specific unit such as bytes.To force a different color (override the color palette) for a specific series such as a selected host
The Axes section is one of the expandable sections in the right panel of Data Explorer. In the Axes section, you can control how the X axis and each Y axis of your visualization are displayed.
In this walkthrough, you add some metrics to a visualization and see how to adjust the axis settings in the Axes section of the Settings for your graph. (This example uses a Graph visualization, but the same settings apply to other visualizations that have axis settings.)
Go to Data Explorer.
In Data Explorer, add metric builtin:host.mem.used
, split by Host
, and select Run query.
X axis
, select in the X axis row, change the name (for example, to Time
), and then select the checkmark to save the new name.Y axis 1
in the Axes section. In this example, it displays memory used in GB, corresponding to the first metric you have added to your chart, Memory used
(builtin:host.mem.used
).Y axis 1
in the Axes section and select and accordingly.Left
to Right
.Auto, Auto
to numeric values. For example, set Min, Max for this metric (Memory used
) to 5, 10
to chart values between those values.Select Add metric and add metric builtin:host.cpu.usage
, split by Host
, and select Run query again.
The Y axis for the second metric (CPU usages %
) is displayed up the right side of the graph to indicate CPU usage percentage. (If you moved the Y axis in the previous step, now they both run up the same side of the chart.)
In the Axes section, a new Y axis 2
section is displayed.
Additional Y axes are not created automatically for any subsequent metrics you add to the chart, but you can add them manually: after you add the metric to your query, select Add Y axis in the Axes section, select in the empty Axis Metric box, and then select the metric you want to display for the new axis. Below, a third metric has been added with a third Y axis for .NET memory consumption (Large Object Heap)
.
To name an axis
To hide an axis
To specify the side of the chart on which to display a Y axis
Left
or Right
.By default, minimum and maximum axis values are set automatically.
To set custom minimum and maximum values for an axis
Auto, Auto
to a comma-separated pair of values corresponding to the values on the selected axis.The Threshold section is one of the expandable sections in the right panel of Data Explorer. The contents of this section may vary depending on the visualization you have selected. Use threshold settings to enhance your visualizations and tiles.
Set threshold values after you set Unit:
In the Thresholds section, enter threshold values
Adjust threshold colors optional
To hide or show threshold colors without deleting the threshold settings, in the Thresholds section, select .