Configure and use a single-value visualization in Dynatrace
To visualize your query results as a single-value chart or tile, select
Single value
from the list above the query definition, in the upper-left corner of the page.
- This visualization shows one metric as a single-value chart or tile
- It merges all dimensions to a single aggregate.
Example in the Data explorer
Example dashboard tile
Change visualization
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.
Change metric selection
By default, this visualization shows the first metric of a multi-metric query.
To select a different metric from a multi-metric query, you can select the letter next to the metric you want to visualize, or you can select the eye icon .
Settings
The Settings section is one of the expandable sections in the right panel of the Data explorer page. The contents of the Settings section may vary depending on the visualization you have selected.
Show trend
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).
Show sparkline
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.
Threshold background
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.
Fold transformation
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
Auto
with any of the following:Last value
,Average
,Count
,Maximum
,Minimum
,Sum
,Median
,Value
,Percentile 10th
,Percentile 75th
,Percentile 90th
. - If you need to see the last reported value for a metric (rather than an aggregation), select
Last value
.
Settings per metric
The 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 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. If you export to a CSV file, the Unit and Format settings are also reflected in the exported values.
Unit
Use the Unit setting to set the unit in which the metric is displayed.
None
= No unit displayedAuto
= 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.
- In Advanced mode, you can use
: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 |
Format
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, whereNone
would display5.062357754177517 %
,Auto
would display5.06 %
.- Other selections specify the number of decimal places to display:
0
,0.0
,0.00
,0.000
Examples
Threshold
The Threshold section is one of the expandable sections in the right panel of the Data explorer page. The contents of this section may vary depending on the visualization you have selected. Use threshold settings to enhance your visualizations and tiles.
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.
Set thresholds
Hide or show threshold colors
To hide or show threshold colors without deleting the threshold settings, in the Thresholds section, select .