Add Traces panel to dashboard
Traces visualizations let you follow a request as it traverses the services in your infrastructure. The traces visualization displays traces data in a diagram that allows you to easily interpret it. Traces visualizations currently render one trace traversal based on the traceID used in TraceQL or using a variable.
To add a Traces panel to a dashboard, complete the following steps:
While viewing a dashboard, click Add > Visualization on the top toolbar.
Search for and select the same traces data source you selected for the traces table.
An empty panel is added to your dashboard.
From the Visualization drop-down list located in the upper-right of the page, select Traces.
In the query editor, click the TraceQL query type tab.
Enter
${traceId}
in the TraceQL query field to create a dashboard variable.This variable is used as the template query.
Under the Panel options, enter a Title for your trace panel.
Save the changes to the dashboard.
Click Back to dashboard.
In the next milestone, you’ll arrange the order of the panels in the dashboard and test it.