functions: rename moving avg to graphite-like

This commit is contained in:
Alexander Zobnin
2017-07-04 10:16:03 +03:00
parent f3ee574619
commit 0b8cb0b23c
8 changed files with 23 additions and 20 deletions

View File

@@ -127,9 +127,10 @@ var metricFunctions = {
scale: scale,
delta: delta,
rate: rate,
simpleMovingAverage: simpleMovingAverage,
expMovingAverage: expMovingAverage,
movingAverage: simpleMovingAverage,
exponentialMovingAverage: expMovingAverage,
aggregateBy: aggregateByWrapper,
// Predefined aggs
average: _lodash2.default.partial(aggregateWrapper, AVERAGE),
min: _lodash2.default.partial(aggregateWrapper, MIN),
max: _lodash2.default.partial(aggregateWrapper, MAX),