Latest Dynatrace
Use these procedures to edit your dashboard.
To create a new dashboard
The fastest and easiest way to explore your data is with our new Explore tiles and sections. In a few seconds, you can find and analyze your logs, metrics, or business events. No DQL required!
To Query Grail
In the upper-right of the dashboard, select Add > DQL.
A configuration side panel opens on the right to display two tabs:
On the Data tab, use the Dynatrace Query Language (DQL) to define your query.
Select Run to execute the query.
On the Visual tab, choose a visualization format for your results.
Under the Visualization selector, expand the options sections to adjust visualization settings as needed.
Close the side panel when you're done.
If you want to return to these settings, select your tile to display them.
For details, see Add data to a dashboard.
To add code to a dashboard
In the upper-right of the dashboard, select Add > Code.
An empty tile is added to the dashboard and an Options side panel opens on the right.
optional In Tile title, enter a title to display at the top of your tile.
In the numbered Code box, enter custom JavaScript to fetch external data from any available API. Use the Fetch API to fetch data from external APIs.
To make sure your requests aren't blocked, ask your administrator to allow your external data sources by adding them to the Limit outbound connections settings.
Go to Settings and open Preferences > Limit outbound connections.
Select Add item and add the address of the web service you'd like to connect to.
Don't include the address prefix. For example, if the address is https://some.service.org
, just add some.service.org
.
Select Save changes.
This way you can granularly control the web services your dashboard can connect to.
For details, see Add code to a dashboard.
To add a markdown tile to a dashboard
In the upper-right of the dashboard, open the Add menu and select Add markdown.
An Options side panel opens on the right.
In the Options side panel, enter your text.
Close the Options side panel when you're done.
For details, see Add Markdown to dashboard.
Use variables to filter your dashboards, to act as variable values in code tiles, and as placeholders in tile titles and Markdown tile text.
To add a variable to a dashboard
In the upper-right corner of the dashboard, select > Variables.
The Variable panel is displayed.
Define the variable.
dt_
Set Display settings.
When you're finished, select < Variable at the top to go to the Variables panel, or close the panel to display the dashboard.
Variables in dashboards can be defined to depend on other variables.
The value of a variable is recalculated if its definition refers to another variable and the other variable's value changes.
For example, if the value of variable A changes, the value of any variable whose definition refers to variable A is recalculated.
Loops are not allowed.
For example, if the value of variable A depends on the value of variable B, the value of variable B can't depend on the value of variable A.
For details, see Add a variable to a dashboard.
To get started based on a snippet
In the upper-right of the dashboard, select Add and choose a snippet from the Start with a snippet section.
The edit panel displays the snippet.
Edit the query or code (depending on the snippet type you selected) and the visualization settings as needed.
Select Run query.
In the Result section, select Select visualization to choose a visualization format for your results.
Select < Options to return to the Options panel.
In the Result section, select Customize… to adjust visualization settings as needed.
Select < Options to return to the Options panel.
Review the results.
Close the side panel when you're done.
For details, see Add a snippet to a dashboard.
You can move one tile at a time or select and move multiple tiles simultaneously.
To move one tile at a time
To move multiple tiles simultaneously
To resize a tile
You can copy and paste tiles to the same dashboard or another dashboard.
To copy and paste one tile
Select the tile to display the tile-specific commands.
On the tile command bar, select Copy to clipboard.
The selected tile is copied to your clipboard.
Paste the tile (Ctrl-V).
To copy and paste multiple tiles simultaneously
Click one tile to select it.
Ctrl-click additional tiles that you want to copy and paste.
On the tile command bar, select Copy to clipboard.
The selected tiles are copied to your clipboard.
Paste the tiles (Ctrl-V) to the same dashboard or switch to another dashboard and paste them there.
To open one or more tiles with a different application
Hover over the tile to display the tile-specific commands and then select More actions > Open with.
You can select and open multiple tiles in another application simultaneously.
In the Open with… window, select the other application in which you want to open the tile.
In this example, we have a useful section of a notebook that we want to copy over to a dashboard.
To copy a notebook section to a dashboard (as a dashboard tile)
In the notebook, select the notebook section that you want to copy to a dashboard.
Select > Open with.
In the Open with… window, select the Dashboards option.
A Select destination box is displayed.
In Select destination, you can create a new dashboard or select an existing dashboard.
Select Add.
The dashboard opens with the selected section copied into it.
For details, see Open with.
You can duplicate one tile at a time or duplicate multiple tiles simultaneously.
To duplicate one tile
Select the tile to display the tile-specific commands.
Select Duplicate.
A copy of the tile is created on the current dashboard.
To duplicate multiple tiles simultaneously
Click one tile to select it.
Ctrl-click additional tiles that you want to duplicate.
On the tile command bar, select Duplicate.
The selected tiles are duplicated on the current dashboard.
You can delete one tile at a time or select and delete multiple tiles simultaneously.
To delete one tile
To delete multiple tiles simultaneously
To edit a tile
Select the tile to display the tile-specific commands.
Select Edit.
An Options panel opens on the right to display the tile or section configuration.
Select and drag the expander control left or right as needed to resize the Options panel for a better look at the code.
To download (export) the result of the current dashboard tile or notebook section
Hover over the tile or section to display available commands.
On the command bar, select More actions > Download result > [format].
The result is downloaded to a local file in the selected format.
The selection of download formats available depends on the visualization.
Some visualizations offer no option for downloading the result.
Dynatrace version 1.277+ Dashboards app version 1.10.0+
In Dynatrace version 1.276 and earlier, in the Dashboards app, values from query, code, and CSV variables were automatically converted to numbers where possible.
In Dynatrace version 1.277+ (Dashboards app version 1.10.0+), all such variable values are returned as strings.
Issue: Starting with Dynatrace version 1.277, errors might occur in some previously existing Dashboards app dashboards that depend on the previous conversion (for example, your query expects a number, but it now receives a string).
Solution: Use DQL conversion functions in your queries to convert values as needed.