Widget

A widget is a one-section building block for assembling a Datadog dashboard, made up of a pair: a query that pulls data and how that data is shown. Time series, current value, top list, and so on: the questions each type can answer are different.

Overview

A single dashboard is a set of many widgets laid out side by side. Even with the same query, placing it as a time series lets you read the trend, placing it as a Query Value lets you read the current value, and placing it as a Top List lets you read the targets that stand out. If you choose the wrong type, the numbers are correct but you end up with a dashboard on which the reader struggles to make decisions. It is a concept that matters when you are unsure what to place, when you duplicate and fix building blocks someone else made through JSON or the API, and when you organize a dashboard with many building blocks using groups or tabs.

A section that combines a query and its presentation into one

The official documentation positions a widget as something that puts data into visible form, and as the unit for assembling dashboards. The data it can pull spans metrics, logs, APM traces, events, RUM, SLOs, and security signals (as of October 2026; Source: Widgets). Placing one takes three steps: choose the data source, adjust the presentation, units, and time frame, and add context with links and conditional formatting. Deciding the type of building block first also decides the shape of the query, so if you are unsure, start from "what does this section answer?"

Choose the type of building block from the type of question

The widget list is arranged by categories such as Graphs, Groups, and Alerting and response, but when choosing, looking things up by question rather than by category gets you to a decision faster.

The reader's question and the widget suited to answering it
The reader's questionSuitable widgetCategory in the list
Is the current value over the line?Query ValueGraphs
Since when has it changed?TimeseriesGraphs
Which target stands out?Top ListGraphs
What does the breakdown look like?Table / Pie Chart / TreemapGraphs
How are the values spread?Distribution / HeatmapGraphs
Are the monitoring and targets being met?Monitor Summary / SLO SummaryAlerting and response / Performance and reliability
In what order should it be read?Group / Notes and LinksGroups / Annotations and embeds
Source: The mapping to questions created based on the categories in Widget Types (as of October 2026)

If you make one section carry two questions, the answer to each becomes hard to read. If you want to show both the trend and the current value, placing a Timeseries and a Query Value next to each other makes decisions faster.

The type names in JSON are spelled differently from the names on screen

The shape of a widget shown in the JSON editor is the same as the shape of the request body of the Dashboards API (as of October 2026; Source: Graphing with JSON). You can pass a definition copied on screen as is to the API or to another dashboard, so knowing the type names speeds up reading and writing.

  • One widget = has one definition
  • definition.type = the name of the type (timeseries / query_value / toplist)
  • queries and formulas inside requests = what to pull and how to calculate it
Source: The API sections of Group Widget, Query Value Widget, and Top List Widget (as of October 2026)

The one people tend to trip over is Top List: its name on screen is two words, but its type is toplist without an underscore. When writing JSON by hand, do not guess from the name on screen; check the API section on each widget's page.

Dividing a dashboard with groups and tabs

When the building blocks multiply, gather similar graphs into a Group widget. A group has a heading, can contain anywhere from one to any number of building blocks, and can be collapsed. However, screenboard building blocks cannot be put into groups (as of October 2026; Source: Group Widget). On dashboards that use groups, high-density mode is enabled by default on large screens, and groups are laid out side by side (Source: Configure). A dashboard that grows even larger can be split into named tabs with Move to tab in a building block's share menu. In JSON, the size of each building block is expressed by the integer width and height in layout.

Three things easily mistaken for building blocks

A Notebook cell can draw graphs, but it is part of an investigation document stacked alongside prose, and its lifespan differs from that of a dashboard building block. A Powerpack is a type in the Groups category of the list that handles building blocks together. Template variables, whose values you select at the top of the screen, are not building blocks but a dashboard-side setting that applies a filter to the queries of multiple building blocks at once. An overview of how to choose widgets themselves is left to Dashboards. Once you export a dashboard you have with Export dashboard JSON in the settings menu, try counting the values of definition.type by kind. If it is all timeseries, that is a sign you are drawing even the sections that ask about the current value or the top items with the trend type.

Share