From f3fc128ec3f56f2e53249d3d43f0d57c6f171c4b Mon Sep 17 00:00:00 2001 From: Denis Doria Date: Thu, 6 Aug 2015 10:23:52 +0200 Subject: [PATCH] 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. --- public/app/plugins/datasource/influxdb/funcEditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/plugins/datasource/influxdb/funcEditor.js b/public/app/plugins/datasource/influxdb/funcEditor.js index ae4248cf2a6..86b16669551 100644 --- a/public/app/plugins/datasource/influxdb/funcEditor.js +++ b/public/app/plugins/datasource/influxdb/funcEditor.js @@ -18,7 +18,7 @@ function (angular, _, $) { var functionList = [ '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) {