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

Sparkline

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 sparkline for a sparkline.
  • title: Title of the Graph.

Query

query: <string>
label: <string>
  • query: Query to retrieve the data from the selected datasource.
  • label: The value of this field is shown above the sparkline.

Options

unit: <string>
stats: [ <string> ]
decimals: <int>
thresholds: [ <float> ]
colors: [ <string> ]
  • unit: Unit which should be shown for the metric.
  • stats: Array of stats which should be shown. The default value is current. The current value is always shown, followed by all defined stats from the array.
  • decimals: Number of decimals which should be shown for the value of the metric.
  • thresholds: Threshold which are used for the different colors. The length of the array must be the length of colors - 1.
  • colors: Colors for the metrics. The array length must be the length of thresholds + 1.
Clone this wiki locally