Configure and use a single-value visualization in Dynatrace
This visualization shows one metric as single-value chart or tile, and merges all dimensions to a single aggregate.
Select a different metric
By default, this visualization shows the first metric of a multi-metric query.
To select a different metric from a multi-metric query, select the letter next to the metric you want to visualize. In this example, you would change the selection from A (
CPU usage %) to B (
Memory used %).
You must select
Single value to display this type of visualization.
Determines whether the tile displays the trend (based on the first and last datapoints of the selected timeframe). In this example, there are two identical tiles, one with Show trend turned off, and then the same tile with Show trend turned on (trending down).
Determines whether the tile displays a sparkline. In this example, there are two identical tiles, one with Show sparkline turned off, and then the same tile with Show sparkline turned on.
Determines whether the threshold color is reflected in the background color of the tile. In this example, there are two identical tiles, one with Threshold background turned off, and then the same tile with Threshold background turned on.
The fold transformation combines a data points list (a timeseries: a collection of data points over the time period) into a single data point.
- The default fold transformation is
Auto, which automatically selects the most appropriate time aggregation based on the metric.
- You can manually override
Autowith any of the following:
- If you need to see the last reported value for a metric (rather than an aggregation), select
Per-metric visual settings
The Visual settings section also displays visualization options per metric selected for the query.
Rename a metric
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.
- In the Visual settings section, select for the metric you want to rename.
- Edit the name, and then select the checkmark to save the new name.
Unit and Format
Use the Unit and Format settings to determine how your data is displayed.
Use the Unit setting to set the unit in which the metric is displayed.
None= No unit displayed
Auto= Dynatrace selects an appropriate display unit
- Other selections specify the exact unit to display. The options here depend on the metric's unit. A time metric, for example, offers alternative units for displaying time.
- To add a custom unit/suffix string, type the custom string in the Unit box and then select it from the list.
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
- Other selections specify the number of decimal places to display:
When the basic unit of the metric is byte:
- If you set Unit to
Auto, Dynatrace automatically expresses the results in a human-readable unit, which in this case could be
Note: A byte-based unit can have either a binary or decimal base, which will determine whether Dynatrace selects, for example,
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 =
- If you want to see raw data (no conversion), you can set Unit to
Noneand 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:
- For smaller values, to see the results expressed in exact dollars and cents: set Unit to
Auto, and set Format to
0.00(to have two decimal places for the cents)
- For larger values, to see the results expressed in thousands, millions, or billions of dollars and no cents: set Unit to
bil, 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: set Unit to
Auto, and set Format to
- To see a rough count: set Unit to something like
bil(depending on the magnitude of your values), and set Format to
0.0000(depending on how many decimal places make sense in combination with the selected Unit setting).
When setting threshold values:
- If you select a Unit (for example,
MiB), the Threshold settings are then prepared to match the selected unit, so you just need to enter threshold values without specifying
- If you set Unit to
Auto(to let Dynatrace automatically scale the displayed output), you still need to set Threshold values in a specific unit such as bytes.
To enhance your visualizations, you can set thresholds that are reflected in your visualization.
This example shows a Graph visualization of
CPU usage % (
builtin:host.cpu.usage) before and after adding thresholds. The effect is similar for other visualizations with thresholds.
The thresholds also affect how the tiles are displayed on your dashboards.
Tip: Set Threshold values after you set Unit:
- If you set Unit first, the threshold settings are prepared to match the selected unit.
- If you change Unit after you set threshold values, the threshold values are not automatically adjusted to match the new unit setting.
To set thresholds
In the Thresholds section, enter threshold values
Adjust threshold colors optional
Hide or show threshold colors
To hide or show threshold colors without deleting the threshold settings, in the Thresholds section, select .