This repository has been 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
Gauge
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 between0
and100
. The sum of all values in a row should be100
. -
type
: The type must begauge
for a gauge. -
title
: Title of the Graph.
query: <string>
label: <string>
-
query
: Query to retrieve the data from the selected datasource. The returned value for the query must be between0
and100
. -
label
: This field is not used for gauges.
stats: [ <string> ]
thresholds: [ <float> ]
colors: [ <string> ]
-
stats
: Array of stats which should be shown. The default value iscurrent
. For a gauge only the first value of the array is used. -
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
.