Graphing with JSON

Overview

Configure a timeseries widget with the JSON editor

In addition to the GUI graph editor, you can use the JSON editor in your dashboard widgets to configure your visualizations. The schema displayed in the JSON editor mirrors the request body schema of the Dashboard API. For more information on the JSON parameters and required fields see the Dashboard API documentation.

Widget JSON schema

Find the widget type you want to add to your dashboard and apply the JSON fields listed in the respective documentation. For a full list of widget types, see the Widget index.

Y-Axis schema

The Datadog y-axis controls allow you to:

  • Clip the y-axis to specific ranges
  • Filter series either by specifying a percentage or an absolute value
  • Change the y-axis scale from linear to log, sqrt, or power scale

Markers schema

Markers allow you to add visual conditional formatting for your graphs. For example, ALERT, WARNING, or OK.

Markers

Template variable schema

Dashboard template variables apply a new scope to one or more graphs on your dashboard. This allows you to dynamically explore metrics across different sets of tags by using variables instead of specific tags. Learn more about template variable in the Datadog UI.

Further Reading

Additional helpful documentation, links, and articles:

PREVIEWING: piotr_wolski/update-dsm-docs