Browse Source

Changed default OpenTSDB downsample aggregator from sum to avg

Torkel Ödegaard 10 năm trước cách đây
mục cha
commit
3c554953a2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/app/plugins/datasource/opentsdb/queryCtrl.js

+ 1 - 1
src/app/plugins/datasource/opentsdb/queryCtrl.js

@@ -19,7 +19,7 @@ function (angular, _, kbn) {
       }
 
       if (!$scope.target.downsampleAggregator) {
-        $scope.target.downsampleAggregator = 'sum';
+        $scope.target.downsampleAggregator = 'avg';
       }
 
       $scope.$on('typeahead-updated', function() {