fix(opentsdb): fixed opentsdb issue, fixes #6206

This commit is contained in:
Torkel Ödegaard 2016-10-07 08:57:40 +02:00
parent d3b0905899
commit a5cbfc8b98

View File

@ -419,7 +419,7 @@ function (angular, _, dateMath) {
return target.metric === metricData.metric;
} else {
return target.metric === metricData.metric &&
_.all(target.tags, function(tagV, tagK) {
_.every(target.tags, function(tagV, tagK) {
interpolatedTagValue = templateSrv.replace(tagV, options.scopedVars, 'pipe');
return metricData.tags[tagK] === interpolatedTagValue || interpolatedTagValue === "*";
});