Skip to content
This repository has been archived by the owner on Aug 12, 2021. It is now read-only.

Dashboards

ricoberger edited this page Apr 21, 2020 · 1 revision

Dashboards must be placed in the ~/.dash/dashboards folder. Ensure that each dashboard has a different name. Each dashboard supports the following fields.

name: <string>
defaultDatasource: <string>
variables: [ <variable> ]
rows: [ <row> ]
  • name: Name of the dashboard.
  • defaultDatasource: Default datasource which should be used for the dashboard.
  • variables: Variables in the dashboard.
  • rows: Rows in the dashboard.

Variables

A can be used in another variable and in a query via Go templating {{.VARIABLE_NAME}}. The following fields are supported:

name: <string>
query: <string>
label: <string>
all: <bool>
  • name: Name of the variable, which can be used in queries via {{.VARIABLE_NAME}}.
  • query: Query which is executed against the datasource.
  • label: Label which should be used to for the values of the variable.
  • all: Add an include all option to the list of variable values.

A variable can be changed via the F3 key, followed by a number between 0 and 9.

Rows

The following fields are supported for a row:

height: <int>
graphs: <graph>
  • height: Height of the row. Must be a value between 0 and 100. The sum of the height must be 100.
  • graphs: Graphs which should be shown in the row. Details for the graphs can be found at the Graphs page.
Clone this wiki locally