|Time Scope||All graphs share same time scope||All graphs can have individual time scope|
|Layout||Graphs appear in a fixed grid||Graphs are placed anywhere you like on the canvas|
|Can Share Graphs Individually||Yes||No|
|Can Share the Entire Dashboard||No||Yes|
|Sharing can be Read-Only||Yes||Yes|
Dashboard templating allows you to create dashboards that use variables like
$redis in place of specific tags or hosts. You can then dynamically explore the metrics across different sets of tags. Select a new variable value in the dropdown menu, and that value applies across the dashboard.
To create, edit, and delete template variables click the gear icon at the upper right-hand side of the screen, then select ‘Edit Template Variables’ from the actions menu.
This open the template variable editing panel.
A template variable is defined by a name and optional parameters for ‘Tag Group’ and ‘Default Tag.’ A tag group is a prefix shared among several tags, like
redis_port for the tags
redis_port:6380. Setting a tag group eliminates irrelevant tags from the variable’s scope selector, and removes the prefix from the listed values for clarity - so you’ll see
6380 in the ‘Default Tag’ dropdown instead. The ‘Default Tag’ option determines the initial value for the variable on dashboard load.
Once defined, template variables appear alongside normal tag and host options in graph editors. If you set
6379 as the value of
$redis, all graphs defined with
$redis is scoped to
You can also use them explicitly in widgets such as Event Stream, with a query of the form
Event Correlation refers to overlaying events on top of a dashboard graph and is an important feature of the Datadog platform. You can setup correlation at two different times: either when you setup the dashboard or adhoc at the time you view the dashboard.
Setup event correlation at design time by editing any graph on both Timeboards and Screenboards and adding events to the graph. To learn more about this, visit the Graphing Primer. You can find details about adding events using the UI or via the JSON interface further down the page.
Setup event correlation at view time by adding a query in the Search box at the top left of any Timeboard dashboard window. This replaces any events added at design time, but applies the events to all graphs on that particular dashboard.
Fast and easy correlation is key when troubleshooting an issue. Use the following shortcut from any dashboard timeseries graphs to open a contextual menu with the most related logs.
View related logs to jump to the log explorer page zoomed on the selected timeframe with all the current context of your graph.
To define the most related logs, we use the following parameters:
sourceattribute with the same integration name.
Additional helpful documentation, links, and articles: