The suggestions i find online to group by date is:
|> aggregateWindow(every: 1d, fn: sum, createEmpty: false)
However, this seems to have some unexpected behavior. I’d expect it to group by each day, but it appears to be driven by something slightly different. Do i perhaps need to specify a timezone or some other criteria to get it to group by the date in the timestamps and not evaluate the time portion whatsoever?
It even went so far as to have two entries for the same day. This 2nd entry contains everything after 8PM… and the 2nd entry will switch to be 7/10 once we cross over midnight.