aggregateWindow

This commit is contained in:
mwiegand 2021-10-16 12:31:55 +02:00
parent a2a588b171
commit c88102b0ca

View file

@ -12,4 +12,5 @@ from(bucket: "${bucket}")
% if negative:
|> map(fn: (r) => ({r with _value: r._value * - 1.0}))
% endif
|> aggregateWindow(every: v.windowPeriod, fn: mean)
|> yield(name: "mean")