Commit Graph

9 Commits

Author SHA1 Message Date
akrzos 89e71ad53d Add links to GrafYaml
Allow dashboards with links to be created.

Change-Id: Ie6e27808e465d98fd6694a60b31aa78b883e7ed3
2018-02-16 09:47:44 -05:00
akrzos 4711e038ae Allow dashboards to be tagged
Change-Id: Ie1a7db10726a9de924a2a8fe262d2c9550d42fd5
2018-02-09 10:04:02 -05:00
akrzos a53ce0ed3b Add support to change the default time filter range
Default is 6h it seems.  This change allows adjusting the default
to/from range in the time filter.

Change-Id: I567b9cc5cd8c753f852066c9e6868dd0f1b30b60
2018-02-07 20:23:07 -05:00
Paul Belanger f95956b3e2 Add support for template query
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>
2016-01-09 10:27:18 -08:00
Paul Belanger 5c620dcbc6 Default dashboard timezone to UTC
We also allow the user to override the setting to browser as well.

Change-Id: Id7ebdc3140d8fc50d0e70876fa2341a102821e1f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-11-13 10:14:07 -05:00
Paul Belanger 2c92819451 Add datasource support
We now support the ability to create a datasource using yaml files.

Change-Id: I1db38ac25bc309398924c15635ea5dee4eaf264c
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-11-03 12:36:59 -05:00
Paul Belanger b91de6e8e9 Rework unit tests
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>
2015-05-11 14:38:24 -04:00
Paul Belanger b81f524829 Add support for rows
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-05-06 15:15:29 -04:00
Paul Belanger e117767f9b Add grafana-dashboards cli client
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>
2015-05-06 13:02:55 -04:00