Default is 6h it seems. This change allows adjusting the default
to/from range in the time filter.
Change-Id: I567b9cc5cd8c753f852066c9e6868dd0f1b30b60
A cool feature grafana has is the ability to template dashboards with
variables. This code now provides that ability to the user.
Change-Id: Ib2f565e3d39523105b2c07d29d5257494a8bae67
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We also allow the user to override the setting to browser as well.
Change-Id: Id7ebdc3140d8fc50d0e70876fa2341a102821e1f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We now support the ability to create a datasource using yaml files.
Change-Id: I1db38ac25bc309398924c15635ea5dee4eaf264c
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
With help from JJB we now compare yaml to json, making sure we generating the
proper JSON from the schema
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This is the first attempt at the CLI client. Right now, we just support the
update function, which will blindly create a dashboard in grafana with ZERO
validation. Additionally, we blindly override any existing dashboard that has
been created.
Signed-off-by: Paul Belanger <pabelanger@redhat.com>