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

Linechart

ricoberger edited this page Apr 21, 2020 · 1 revision
width: <int>
type: <string>
title: <string>
queries: [ <query> ]
options: <options>
  • width: Width of the graph in the row. Must be a value between 0 and 100. The sum of all values in a row should be 100.
  • type: The type must be linechart for a linechart.
  • title: Title of the Graph.

Query

query: <string>
label: <string>
  • query: Query to retrieve the data from the selected datasource.
  • label: The value which should be used in the legend. This must be unique for each returned time series. You can include a label from the returned time series via Go templating {{.NAME_OF_RETURNED_LABEL}}

Options

unit: <string>
stats: [ <string> ]
decimals: <int>
legend: <bottom|right>
  • unit: Unit which should be shown for the metric.
  • stats: Array of stats which should be shown in the legend for each series. The current value is always shown.
  • decimals: Number of decimals which should be shown for the value of the metric.
  • legend: By default no legend is shown in the linechart. To show the legend the value must be bottom or right.
Clone this wiki locally