Просмотр исходного кода

influxdb:difference feature

Add support for the difference query from InfluxDB
casa87 11 лет назад
Родитель
Сommit
9640f0251c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/app/controllers/influxTargetCtrl.js

+ 1 - 1
src/app/controllers/influxTargetCtrl.js

@@ -17,7 +17,7 @@ function (angular) {
 
       $scope.rawQuery = false;
 
-      $scope.functions = ['count', 'mean', 'sum', 'min', 'max', 'mode', 'distinct', 'median', 'derivative', 'stddev', 'first', 'last'];
+      $scope.functions = ['count', 'mean', 'sum', 'min', 'max', 'mode', 'distinct', 'median', 'derivative', 'stddev', 'first', 'last', 'difference'];
       $scope.operators = ['=', '=~', '>', '<', '!~', '<>'];
       $scope.oldSeries = $scope.target.series;
       $scope.$on('typeahead-updated', function(){