Backend plugins: Send query type to backend plugins (#24120)

Use v0.60.0 of sdk.
This commit is contained in:
Marcus Efraimsson
2020-05-05 10:32:34 +02:00
committed by GitHub
parent d66d9aa62a
commit 890e1d8f94
6 changed files with 10 additions and 3 deletions
+1
View File
@@ -59,6 +59,7 @@ func (hs *HTTPServer) QueryMetricsV2(c *models.ReqContext, reqDto dtos.MetricReq
RefId: query.Get("refId").MustString("A"),
MaxDataPoints: query.Get("maxDataPoints").MustInt64(100),
IntervalMs: query.Get("intervalMs").MustInt64(1000),
QueryType: query.Get("queryType").MustString(""),
Model: query,
DataSource: ds,
})