Skip to content

Each section covers one value of type: the fields it adds to the shared ones. The shared fields are listed first.

Shared fields

FieldTypeDescription
idstringKept as sent. Unique within its dashboard; another dashboard can use the same ID. Left out, the server assigns one. Use letters, digits, - and _.
gridobjectMerged into the default {x: 0, y: 0, w: 12, h: 3}: left out, the widget gets the default, and a key left out takes the default's value. Default: {"x":0,"y":0,"w":12,"h":3}.
grid.xintegerMin 0.
grid.yintegerMin 0.
grid.wintegerMin 1.
grid.hintegerMin 1.
presentationobject
presentation.titlestringMax length 255.
presentation.subtitlestringMax length 255.

alarms

2 settings

FieldTypeDescription
configobject
config.limitintegerMax alarms shown. Min 1.
config.filter_statestringShow all alarms or only those in one state. Allowed values: all, triggered, ok.
type required"alarms"

checkins

2 settings

FieldTypeDescription
configobject
config.limitintegerMax check-ins shown. Min 1.
config.sort_orderstringSort by state, name, or last report time. Allowed values: state_name, name, last_reported.
type required"checkins"

deployments

3 settings

FieldTypeDescription
configobject
config.limitintegerMax deploys shown. Min 1.
config.override_timebooleanUse ts instead of the dashboard's time range.
config.tsstringTime range used when override_time is true.
type required"deployments"

errors

3 settings

FieldTypeDescription
configobject
config.limitintegerMax errors shown. Min 1.
config.querystringError search query string to filter the list.
config.sortstringSort order. Allowed values: last_seen_desc, last_seen_asc, times_desc, times_asc.
type required"errors"

insights_vis

5 settings

FieldTypeDescription
configobject
config.streamsarray<string>Streams to query, by slug: default (the project's own stream) or internal. Anything else is refused (422). Left out or empty, set to the project's current streams. A slug whose stream the project doesn't have yet, right after it's created, is dropped. Allowed values: default, internal.
config.querystringBadgerQL query producing the widget's data.
config.visobjectHow to render the result: {view, chart_config}. See Chart types for each view value's fields.
config.vis.view requiredstringAllowed values: billboard, bar, line, pie, area, histogram, scatter, heatmap, table.
config.vis.chart_configobject
type required"insights_vis"

Chart types. The remaining config.vis fields depend on config.vis.view:

area

6 settings
FieldTypeDescription
config.vis.chart_configobjectLike line, with the area under each series filled; series can be stacked.
config.vis.chart_config.xFieldstringAlias for the x axis, typically a time bin such as bin(1h).
config.vis.chart_config.yFieldstringAlias plotted as the series value; required when groupType is events.
config.vis.chart_config.zFieldstringAlias whose distinct values split results into one series each.
config.vis.chart_config.groupTypestringevents (default): one series from yField, split by zField if set; fields: every result field except xField becomes its own series. Allowed values: fields, events.
config.vis.chart_config.stackedbooleanStack series instead of overlaying them.
config.vis.chart_config.groupsobjectPer-series display options keyed by series name, e.g. {"web": {"color": "#4A90D9"}}. Advanced — usually omit.
config.vis.view required"area"

bar

9 settings
FieldTypeDescription
config.vis.chart_configobjectBar chart of a value per category.
config.vis.chart_config.categoryField requiredstringAlias for the category axis; one bar per distinct value.
config.vis.chart_config.valueField requiredstringAlias for bar height.
config.vis.chart_config.valueFieldUnitstringUnit used to format values: percent, microseconds, or milliseconds.
config.vis.chart_config.labelFieldstringAlias rendered as a label on each bar.
config.vis.chart_config.groupTypestringevents (default): series come from groupField; fields: every result field except categoryField becomes its own series. Allowed values: fields, events.
config.vis.chart_config.groupFieldstringAlias whose distinct values split bars into series (with groupType events).
config.vis.chart_config.horizontalbooleanRender bars horizontally.
config.vis.chart_config.stackedbooleanStack series instead of grouping side by side.
config.vis.chart_config.groupsobjectPer-series display options keyed by series name, e.g. {"web": {"color": "#4A90D9"}}. Advanced — usually omit.
config.vis.view required"bar"

billboard

6 settings
FieldTypeDescription
config.vis.chart_configobjectBig-number stat tiles: one tile per result row (or one per result field when groupType is fields).
config.vis.chart_config.titleFieldstringAlias shown as the tile title.
config.vis.chart_config.valueFieldstringAlias shown as the big number; required when groupType is events.
config.vis.chart_config.titleURLFieldstringAlias containing a URL; makes the tile title a link.
config.vis.chart_config.subtitleFieldstringAlias shown below the value.
config.vis.chart_config.statusFieldstringAlias whose value drives the tile's status indicator.
config.vis.chart_config.groupTypestringevents (default): one tile per result row using valueField; fields: one tile per result field. Allowed values: fields, events.
config.vis.view required"billboard"

heatmap

6 settings
FieldTypeDescription
config.vis.chart_configobjectGrid of cells colored by intensity. The query must sort by the x and y fields (| sort x, y) to render correctly.
config.vis.chart_config.xField requiredstringAlias for the x axis, typically a time bin such as bin(1h).
config.vis.chart_config.yField requiredstringAlias for the y axis.
config.vis.chart_config.zField requiredstringAlias for cell value/intensity.
config.vis.chart_config.yFieldUnitstringUnit used to format y values: percent, microseconds, or milliseconds.
config.vis.chart_config.stepsintegerNumber of color steps (default 5). Min 1.
config.vis.chart_config.groupsobjectPer-series display options keyed by series name, e.g. {"web": {"color": "#4A90D9"}}. Advanced — usually omit.
config.vis.view required"heatmap"

histogram

6 settings
FieldTypeDescription
config.vis.chart_configobjectDistribution of values across buckets.
config.vis.chart_config.xField requiredstringAlias for the x axis.
config.vis.chart_config.yField requiredstringAlias for the y axis.
config.vis.chart_config.zFieldstringAlias whose distinct values split results into one series each.
config.vis.chart_config.xFieldUnitstringUnit used to format x values: percent, microseconds, or milliseconds.
config.vis.chart_config.yFieldUnitstringUnit used to format y values: percent, microseconds, or milliseconds.
config.vis.chart_config.groupsobjectPer-series display options keyed by series name, e.g. {"web": {"color": "#4A90D9"}}. Advanced — usually omit.
config.vis.view required"histogram"

line

15 settings
FieldTypeDescription
config.vis.chart_configobjectOne or more series plotted over an x axis, usually time.
config.vis.chart_config.xFieldstringAlias for the x axis, typically a time bin such as bin(1h).
config.vis.chart_config.yFieldstringAlias plotted as the series value; required when groupType is events.
config.vis.chart_config.zFieldstringAlias whose distinct values split results into one series each.
config.vis.chart_config.colorFieldstringAlias whose values supply explicit series colors.
config.vis.chart_config.xFieldUnitstringUnit used to format x values: percent, microseconds, or milliseconds.
config.vis.chart_config.yFieldUnitstringUnit used to format y values: percent, microseconds, or milliseconds.
config.vis.chart_config.groupTypestringevents (default): one series from yField, split by zField if set; fields: every result field except xField becomes its own series. Allowed values: fields, events.
config.vis.chart_config.yAxisLabelstringLeft y-axis label (stored, but charts don't use it yet).
config.vis.chart_config.yAxisMinnumberLeft y-axis minimum (stored, but charts don't use it yet).
config.vis.chart_config.yAxisMaxnumberLeft y-axis maximum (stored, but charts don't use it yet).
config.vis.chart_config.rightYAxisFormatstringRight y-axis format (stored, but charts don't use it yet).
config.vis.chart_config.rightYAxisLabelstringRight y-axis label (stored, but charts don't use it yet).
config.vis.chart_config.rightYAxisMinnumberRight y-axis minimum (stored, but charts don't use it yet).
config.vis.chart_config.rightYAxisMaxnumberRight y-axis maximum (stored, but charts don't use it yet).
config.vis.chart_config.groupsobjectPer-series display options keyed by series name, e.g. {"web": {"color": "#4A90D9"}}; entries may also set axis (left|right) to plot a series on the right y axis. Advanced — usually omit.
config.vis.view required"line"

pie

3 settings
FieldTypeDescription
config.vis.chart_configobjectProportional slices; one slice per result row.
config.vis.chart_config.nameField requiredstringAlias for slice labels.
config.vis.chart_config.valueField requiredstringAlias for slice sizes.
config.vis.chart_config.groupsobjectPer-slice display options keyed by slice name, e.g. {"web": {"color": "#4A90D9"}}. Advanced — usually omit.
config.vis.view required"pie"

scatter

5 settings
FieldTypeDescription
config.vis.chart_configobjectIndividual points plotted on two axes.
config.vis.chart_config.xField requiredstringAlias for the x axis.
config.vis.chart_config.yField requiredstringAlias for the y axis.
config.vis.chart_config.groupFieldstringAlias whose distinct values color the points.
config.vis.chart_config.scaleFieldstringAlias that scales point size.
config.vis.chart_config.groupsobjectPer-series display options keyed by series name, e.g. {"web": {"color": "#4A90D9"}}. Advanced — usually omit.
config.vis.view required"scatter"

table

FieldTypeDescription
config.vis.view required"table"
config.vis.chart_configobjectRaw result rows and columns. No config.

uptime

1 setting

FieldTypeDescription
configobject
config.limitintegerMax uptime monitors shown. Min 1.
type required"uptime"