① Select your visualization
You can change the Widget Type.
② Graph your data
You can configure the data to be displayed on the graph.
There are three ways to edit.
Edit: This is the default UI tab for graph options.
Select the data to be displayed in the graph.
Metric: Refer to the query documentation to configure a metric query.
Indexed Span: Refer to the trace search documentation to configure an indexed span query.
Log Event: Refer to the log search documentation to configure a log event query.
To add data to be displayed in the graph, click Add Query, and to add a calculation formula, click Add Formula.
Configure the graph display options.
Display: Select from Lines / Areas / Bars.
Color: Select the desired color combination.
Style: Select from Solid / Dashed / Dotted.
Stroke: Select from Normal / Thin / Thick.
You can add data and display option sets.
* Both adding via Add Query and Graph Additional are allowed.
If you want to configure different display options for the graph, use Graph Additional.
If you want to use the same display options, use Add Query.Additional options will be available depending on the selected Widget type.
JSON: This is an editing method using JSON. (Reference: widget JSON schema definition)
Share: Generates an embed code to include the graph on a web page.
③ Set display preferences
You can specify the time interval of the graph. If set to Global Time, it will be adjusted according to the time interval selected at the top of the dashboard.
④ Give your graph a title
Enter the title of the Widget. If left empty, Datadog will automatically assign a title based on the data set in the graph.
Online consultation
Contact us