When downsampling with Flux you might choose to do something like
|> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: true)
and/or
|> fill(value: 0)
Neither of which are currently possible. It'd be useful to add the ability to force creation (and population?) of empty windows
Activity
06-Feb-23 16:09
assigned to @btasker
06-Feb-23 23:58
Adding this isn't particularly straight forward.
If we pass
into the query, it won't do us any good - although the table might get created in the response, there are no rows to iterate over.
I had a look at the behaviour of a flux-task using Kapacitor, and actually it's not creating empty intervals either.
I think, really, we can close this as Won't Fix - it doesn't seem worth the effort required for implementation.