I would like to calculate the rate of change between the two following values in my stream:
- AVG(value) in SlidingWindow of 1mn
- AVG(value) in SlidingWindow of 1mn in the previous minute
The only thing I can't find in the documentation is how to create a "delayed" sliding window, meaning that it begins 2mn before and ends 1mn before the actual time so I can make some calculations such as the rate of change.