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
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 between0
and100
. The sum of all values in a row should be100
. -
type
: The type must belinechart
for a linechart. -
title
: Title of the Graph.
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}}
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. Thecurrent
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 bebottom
orright
.