Commit a5cbfc8b by Torkel Ödegaard

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

parent d3b09058
...@@ -419,7 +419,7 @@ function (angular, _, dateMath) { ...@@ -419,7 +419,7 @@ function (angular, _, dateMath) {
return target.metric === metricData.metric; return target.metric === metricData.metric;
} else { } else {
return target.metric === metricData.metric && return target.metric === metricData.metric &&
_.all(target.tags, function(tagV, tagK) { _.every(target.tags, function(tagV, tagK) {
interpolatedTagValue = templateSrv.replace(tagV, options.scopedVars, 'pipe'); interpolatedTagValue = templateSrv.replace(tagV, options.scopedVars, 'pipe');
return metricData.tags[tagK] === interpolatedTagValue || interpolatedTagValue === "*"; return metricData.tags[tagK] === interpolatedTagValue || interpolatedTagValue === "*";
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment