Update template query json key to be influxql

pull/1315/head
Chris Goller 2017-04-20 18:23:59 -05:00 committed by GitHub
parent 3bf2c5dcbc
commit 97994a4cfe
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ type DashboardQuery struct {
// TemplateQuery is used to retrieve choices for template replacement
type TemplateQuery struct {
Command string `json:"query"` // Command is the query itself
Command string `json:"influxql"` // Command is the query itself
DB string `json:"db,omitempty"` // DB is optional and if empty will not be used.
RP string `json:"rp,omitempty"` // RP is a retention policy and optional; if empty will not be used.
Measurement string `json:"measurement"` // Measurement is the optinally selected measurement for the query