Commit Graph

5 Commits

Author SHA1 Message Date
Quique Llorente e36f4ef99e Add adhoc template variables
Change-Id: I884d9d54dedaaab586fa3c2e8228f40a2bd39d79
2018-07-10 16:19:58 +02:00
Eldad Marciano 2da2da1a9a Add datasource to template schema.
the following patch will allow us to use datasource type in template schema.

Change-Id: I15cce5f8f97d1837b94eaa7067d7ebe8e449f8f4
Signed-off-by: Eldad Marciano <emarcian@redhat.com>
2018-03-26 18:02:45 +03:00
akrzos dd6582e9cc Add Custom Template Type
Allow custom templated vars.  Custom templated vars are similiar to
interval templated vars in that they have "options" however they can be
multi-selected vs just a singular selection as with an interval var.

Change-Id: Ic89c5d192f87890da950a9d2d5f9bc4a96a3e174
2018-03-16 12:44:22 +00:00
James E. Blair ffa9e89794 Add support for interval template type
This performs some significant coercion because without it, the
interval template type, which should be very easy to use, would
require a substantial amount of yaml boilerplate.

Change-Id: I66ffe944af1b6794089dc536bfd99a1adf5d268e
2016-01-09 10:27:26 -08: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