DashboardBuilder🔗
Constructor🔗
Methods🔗
build🔗
Builds the object.
switchVariableKind🔗
public DashboardBuilder switchVariableKind(com.grafana.foundation.cog.Builder<SwitchVariableKind> switchVariableKind)
adhocVariable🔗
public DashboardBuilder adhocVariable(com.grafana.foundation.cog.Builder<AdhocVariableKind> adhocVariableKind)
annotations🔗
public DashboardBuilder annotations(List<com.grafana.foundation.cog.Builder<AnnotationQueryKind>> annotations)
autoGridLayout🔗
public DashboardBuilder autoGridLayout(com.grafana.foundation.cog.Builder<AutoGridLayoutKind> autoGridLayoutKind)
constantVariable🔗
public DashboardBuilder constantVariable(com.grafana.foundation.cog.Builder<ConstantVariableKind> constantVariableKind)
cursorSync🔗
Configuration of dashboard cursor sync behavior.
"Off" for no shared crosshair or tooltip (default).
"Crosshair" for shared crosshair.
"Tooltip" for shared crosshair AND shared tooltip.
customVariable🔗
public DashboardBuilder customVariable(com.grafana.foundation.cog.Builder<CustomVariableKind> customVariableKind)
datasourceVariable🔗
public DashboardBuilder datasourceVariable(com.grafana.foundation.cog.Builder<DatasourceVariableKind> datasourceVariableKind)
description🔗
Description of dashboard.
editable🔗
Whether a dashboard is editable or not.
elements🔗
gridLayout🔗
public DashboardBuilder gridLayout(com.grafana.foundation.cog.Builder<GridLayoutKind> gridLayoutKind)
groupByVariable🔗
public DashboardBuilder groupByVariable(com.grafana.foundation.cog.Builder<GroupByVariableKind> groupByVariableKind)
intervalVariable🔗
public DashboardBuilder intervalVariable(com.grafana.foundation.cog.Builder<IntervalVariableKind> intervalVariableKind)
libraryPanel🔗
public DashboardBuilder libraryPanel(String key, com.grafana.foundation.cog.Builder<LibraryPanelKind> libraryPanelKind)
links🔗
Links with references to other dashboards or external websites.
liveNow🔗
When set to true, the dashboard will redraw panels at an interval matching the pixel width.
This will keep data "moving left" regardless of the query refresh rate. This setting helps
avoid dashboards presenting stale live data.
panel🔗
preload🔗
When set to true, the dashboard will load all panels in the dashboard when it's loaded.
queryVariable🔗
public DashboardBuilder queryVariable(com.grafana.foundation.cog.Builder<QueryVariableKind> queryVariableKind)
revision🔗
Plugins only. The version of the dashboard installed together with the plugin.
This is used to determine if the dashboard should be updated when the plugin is updated.
rowsLayout🔗
public DashboardBuilder rowsLayout(com.grafana.foundation.cog.Builder<RowsLayoutKind> rowsLayoutKind)
tabsLayout🔗
public DashboardBuilder tabsLayout(com.grafana.foundation.cog.Builder<TabsLayoutKind> tabsLayoutKind)
tags🔗
Tags associated with dashboard.
textVariable🔗
public DashboardBuilder textVariable(com.grafana.foundation.cog.Builder<TextVariableKind> textVariableKind)
timeSettings🔗
public DashboardBuilder timeSettings(com.grafana.foundation.cog.Builder<TimeSettingsSpec> timeSettings)
title🔗
Title of dashboard.
variables🔗
Configured template variables.