Commit 653a0502 by bergquist

tech(tsdb): add jsondata to tsdb datasource struct

parent 6f1a9f4f
...@@ -123,6 +123,7 @@ func (c *QueryCondition) getRequestForAlertRule(datasource *m.DataSource, timeRa ...@@ -123,6 +123,7 @@ func (c *QueryCondition) getRequestForAlertRule(datasource *m.DataSource, timeRa
BasicAuth: datasource.BasicAuth, BasicAuth: datasource.BasicAuth,
BasicAuthUser: datasource.BasicAuthUser, BasicAuthUser: datasource.BasicAuthUser,
BasicAuthPassword: datasource.BasicAuthPassword, BasicAuthPassword: datasource.BasicAuthPassword,
JsonData: datasource.JsonData,
}, },
}, },
}, },
......
...@@ -39,6 +39,7 @@ type DataSourceInfo struct { ...@@ -39,6 +39,7 @@ type DataSourceInfo struct {
BasicAuth bool BasicAuth bool
BasicAuthUser string BasicAuthUser string
BasicAuthPassword string BasicAuthPassword string
JsonData *simplejson.Json
} }
type BatchTiming struct { type BatchTiming struct {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment