Merge pull request #5926 from cmartin0077/5827-add-elapsed-influxdb

feat(influxdb) add elapsed(), fixes #5827
This commit is contained in:
Carl Bergquist 2016-08-29 16:21:59 +02:00 committed by GitHub
commit 47438ad9b9

View File

@ -254,6 +254,15 @@ register({
renderer: functionRenderer,
});
register({
type: 'elapsed',
addStrategy: addTransformationStrategy,
category: categories.Transformations,
params: [{ name: "duration", type: "interval", options: ['1s', '10s', '1m', '5m', '10m', '15m', '1h']}],
defaultParams: ['10s'],
renderer: functionRenderer,
});
// Selectors
register({
type: 'bottom',