GEL: include the expression count in the request (#20114)

This commit is contained in:
Ryan McKinley
2019-10-31 16:22:00 -07:00
committed by GitHub
parent bbff282b89
commit 4d1b969a5c
4 changed files with 15 additions and 8 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ import (
"github.com/grafana/grafana/pkg/util"
)
// POST /api/tsdb/query/v2
// POST /api/ds/query DataSource query w/ expressions
func (hs *HTTPServer) QueryMetricsV2(c *m.ReqContext, reqDto dtos.MetricRequest) Response {
if !setting.IsExpressionsEnabled() {
return Error(404, "Expressions feature toggle is not enabled", nil)