Kaynağa Gözat

Merge pull request #6257 from utkarshcmu/opentsdb_lodash

Opentsdb queries fixed without alias but with tags/filters
Carl Bergquist 9 yıl önce
ebeveyn
işleme
c0596d0dd0

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

@@ -332,7 +332,7 @@ function (angular, _, dateMath) {
       var tagData = [];
 
       if (!_.isEmpty(md.tags)) {
-        _.each(_.pairs(md.tags), function(tag) {
+        _.each(_.toPairs(md.tags), function(tag) {
           if (_.has(groupByTags, tag[0])) {
             tagData.push(tag[0] + "=" + tag[1]);
           }