This change adds support for datasource option to:
* graph panel
* singlestat panel
* templating
This enables the user to use other datasource than the default datasource
for graph/singlestat panels and templating. It is useful when more
than one datasource are available in Grafana.
Change-Id: I2e81a2dc4658c530bf82c4b349e2991dad348b01
This commit adds the ability to configure the options in Time Range panel: time override, time shift and hide time override info.
Change-Id: I1d8c527ef1a377de6e34b94621f3060706356008
This also fixes a bug with our valueName field in a singlestat panel.
Change-Id: I4df8d130fce45cf58b01808997fc561cf8c4b42d
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
A follow up patch will be adding better code coverage on Panels.
Actually validating the values of our fields. To do that, we first
need to split out the logic to be better consumed.
Change-Id: I9e4ca5b90075b860788eed131eefd03c446a010b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>