functions: rename moving avg to graphite-like
This commit is contained in:
8
dist/datasource-zabbix/metricFunctions.js
vendored
8
dist/datasource-zabbix/metricFunctions.js
vendored
@@ -111,16 +111,16 @@ System.register(['lodash', 'jquery'], function (_export, _context) {
|
||||
});
|
||||
|
||||
addFuncDef({
|
||||
name: 'simpleMovingAverage',
|
||||
name: 'movingAverage',
|
||||
category: 'Transform',
|
||||
params: [{ name: 'factor', type: 'int', options: [6, 10, 60, 600] }],
|
||||
params: [{ name: 'factor', type: 'int', options: [6, 10, 60, 100, 600] }],
|
||||
defaultParams: [10]
|
||||
});
|
||||
|
||||
addFuncDef({
|
||||
name: 'expMovingAverage',
|
||||
name: 'exponentialMovingAverage',
|
||||
category: 'Transform',
|
||||
params: [{ name: 'smoothing', type: 'float', options: [0.001, 0.01, 0.05, 0.1, 0.2, 0.3, 0.5, 0.7, 0.9] }],
|
||||
params: [{ name: 'smoothing', type: 'float', options: [6, 10, 60, 100, 600] }],
|
||||
defaultParams: [0.2]
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user