Преглед изворни кода

opentsdb: fix for OpenTSDB and multi value template variable in metric field, fixes #7754

Torkel Ödegaard пре 8 година
родитељ
комит
aee8f0b75e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      public/app/plugins/datasource/opentsdb/datasource.js

+ 1 - 1
public/app/plugins/datasource/opentsdb/datasource.js

@@ -372,7 +372,7 @@ function (angular, _, dateMath) {
       }
 
       var query = {
-        metric: templateSrv.replace(target.metric, options.scopedVars),
+        metric: templateSrv.replace(target.metric, options.scopedVars, 'pipe'),
         aggregator: "avg"
       };