Browse Source

Including non_negative_derivative function on influxdb

Since version 0.9.0 of influxdb the non_negative_derivative function
is merged, this small patch includes it as an option on grafana.
Denis Doria 10 years ago
parent
commit
f3fc128ec3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/app/plugins/datasource/influxdb/funcEditor.js

+ 1 - 1
public/app/plugins/datasource/influxdb/funcEditor.js

@@ -18,7 +18,7 @@ function (angular, _, $) {
 
 
       var functionList = [
       var functionList = [
         'count', 'mean', 'sum', 'min', 'max', 'mode', 'distinct', 'median',
         'count', 'mean', 'sum', 'min', 'max', 'mode', 'distinct', 'median',
-        'derivative', 'stddev', 'first', 'last', 'difference'
+        'derivative', 'non_negative_derivative', 'stddev', 'first', 'last', 'difference'
       ];
       ];
 
 
       var functionMenu = _.map(functionList, function(func) {
       var functionMenu = _.map(functionList, function(func) {