This repository was archived by the owner on Aug 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
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 between0and100. The sum of all values in a row should be100. -
type: The type must besparklinefor a sparkline. -
title: Title of the Graph.
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.
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 iscurrent. Thecurrentvalue 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 ofcolors - 1. -
colors: Colors for the metrics. The array length must be the length ofthresholds + 1.