Преглед на файлове

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

Torkel Ödegaard преди 9 години
родител
ревизия
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"
       };