Przeglądaj źródła

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

Torkel Ödegaard 8 lat temu
rodzic
commit
aee8f0b75e

+ 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"
       };