Dashboards version 1.311+ Notebooks version 1.311+
Use a choropleth map to display data with color gradients by country or region. Examples include user experience scores by country, with color gradients indicating satisfaction levels, and market penetration rates by country to identify areas with high and low adoption.
To try out an example
The map above is based on the following data.
datarecord(geo.country.iso_code = "US", users = toLong(random() * 10000)),record(geo.country.iso_code = "GB", users = toLong(random() * 10000)),record(geo.country.iso_code = "DE", users = toLong(random() * 10000)),record(geo.country.iso_code = "FR", users = toLong(random() * 10000)),record(geo.country.iso_code = "IT", users = toLong(random() * 10000)),record(geo.country.iso_code = "ES", users = toLong(random() * 10000)),record(geo.country.iso_code = "CN", users = toLong(random() * 10000)),record(geo.country.iso_code = "JP", users = toLong(random() * 10000)),record(geo.country.iso_code = "IN", users = toLong(random() * 10000)),record(geo.country.iso_code = "BR", users = toLong(random() * 10000))
The map above is based on the following data.
datarecord(geo.country.iso_code = "US", apdex = "Good" ),record(geo.country.iso_code = "GB", apdex = "Good" ),record(geo.country.iso_code = "DE", apdex = "Poor" ),record(geo.country.iso_code = "FR", apdex = "Excellent" ),record(geo.country.iso_code = "IT", apdex = "Fair" ),record(geo.country.iso_code = "ES", apdex = "Good" ),record(geo.country.iso_code = "CN", apdex = "Unacceptable" ),record(geo.country.iso_code = "JP", apdex = "Poor" ),record(geo.country.iso_code = "IN", apdex = "Good" ),record(geo.country.iso_code = "BR", apdex = "Fair" )
Use the title field at the top of the options panel (initially Untitled tile
or Untitled section
) to add a title to your dashboard tile or notebook section.
Example:
Status
and Emoji
in your dashboard.Current $Emoji status is $Status
.Status
to Good
.Emoji
to 🌍
.The title will be displayed as Current 🌍 status is Good
.
If you aren't sure that you chose the right visualization, use the visualization selector to try different visualizations.
Default zoom
Set a default zoom level for the map by selecting one of the following options:
Country/subdivision code: Select a string field from the list.
Use ISO 3166 codes for countries and country subdivisions.
Color value: Select a string or numeric field from the list.
Region colors
Select how to color the regions:
Color palette: Displays all areas in a color shade from the selected color palette. The shade used for each area corresponds to the value of Color value in relation to the other areas.
If the values of Color value returned by your query range from 0
to 100
0
has a color shade from near the right end of the palette.100
has a color shade from near the left end of the palette.Single-color: Displays all areas in the same color. Select a color from the list or enter the hex code for the color.
Custom: Displays each area in a custom color defined by you.
For each custom color you want to add
Suppose you want to color a map by three levels of Color value:
4,000
4,000
5,000
To configure this
0
, operator ≥
, and the desired shade of green. If Color value is 0
or higher, the area will be green.4,000
, operator ≥
, and the desired shade of yellow. If Color value is 4,000
or higher, the area will be yellow.5,000
, operator ≥
, and the desired shade of red. If Color value is 5,000
or higher, the area will be red.Show custom fields: To display custom fields (name and value) when you hover over a map area, turn on Show custom fields and select each custom field you want to display.
Show legend: To display a map legend, turn on Show legend and select the legend Position:
Text truncation: Determines how to truncate text when the full text can't be displayed.
Min value: Sets the minimum value in the data.
0
or min value).Max value: Sets the maximum value in the data.
Use the Query limits section to check and adjust the Grail query limits per notebook section or dashboard tile. These settings determine the maximum limits when fetching data. Exceeding any limit will generate a warning.
Dashboard tiles and notebook sections created in Dynatrace earlier than version 1.296 are not affected. Those existing tiles/sections will return the same results as before.
Read data limit (GB)
The limit in gigabytes for the amount of data that will be scanned during a read.
Record limit
The maximum number of result records that this query will return. Default: 1,000 records. To see more records, you need to increase the value of Record limit.
If your query has no limit
, such as
fetch logs
the value of Record limit is applied. By default, you will see up to 1,000 records.
If your query also includes a limit
, such as
fetch logs| limit 2000
the lower of the two values (either limit
in your query, or Record limit in the web UI) is applied.
In the example above, you would still see only 1,000 records unless you increased the value of Record limit.
Result size limit
The maximum number of result bytes that this query will return. For better performance with typical queries and smaller documents, the default is set to 1 MB.
Sampling (Logs and Spans only)
Results in the selection of a subset of Log or Span records.
To override the default units and formats in a dashboard or notebook visualization
Select to edit the visualization tile.
Select the Visual tab.
Select Units and formats.
Select Override.
Select Override
In the dropdown list, select the item for which you want to add a unit override.
This is a numeric column of the underlying DQL result, so it varies according to the query. For example:
fetch events
query returns events. The dropdown list here lets you select a numeric field (such as transfer_size
) from the results.timeseries avg(dt.host.cpu.usage)
query returns a single timeseries for avg(dt.host.cpu.usage)
. That timeseries is then the only selectable option in the list.Define the override.
None
if it was not included in the DQL result, or its automatically defined by the unit passed from the DQL result. This field doesn't lead to any conversion.Bytes
, Displayed unit now offers a suitable list of byte conversions such as Kilobyte
and Megabyte
. Unlike the Default unit, the Displayed unit is always a numeric conversion.Turn on Abbreviate large numbers if you want to display large figures in abbreviated form. For example, 1053
becomes 1.1K
.
To reset to defaults (discard override settings for the selected item), select the trash can next to the item.
This example uses a line chart, but the options apply to other visualizations.
In Dashboards, create a dashboard.
Select and, in the Snippets section of the menu, select Metrics > Chart average CPU across all hosts.
In the section edit panel, select the Visual tab and select Line.
Select Units and formats.
Select Override.
In the dropdown list, select the metric for which you want to add an override. There's only one metric to select in this example.
Define the override for the displayed metric. You can observe your changes in the Y-axis of the chart.
Default unit displays Percent (%)
, which is the default unit for the selected metric. Try a different setting, such as One
to instead display the result as a fraction of 1.
Displayed unit displays Auto
. You can change it to a different unit, such as One
to instead display the result as a fraction of 1.
Only linear and static conversions are supported. For example, you cannot convert Degree Celsius(°C)
into Degree Fahrenheit(°F)
, or convert Usd(US$)
into Eur(€)
.
Decimals displays the default number of decimal points (degree of precision) to display. To see it in action, change the Decimals selection and observe the change in the visualization.
For example, change this:
To this:
Suffix displays the optional suffix to display after the unit. To see it in action, enter a string and observe the change in the visualization.
To reset to defaults (discard override settings for the selected metric), select the trash can next to the metric.