When changing range(start: -1h) to range(start: -7d), the results from the past 1 hour are not shown in the results for the past 7 days. What could be causing this?
Query:
from(bucket: “mybucket”)
|> range(start: -1h)
|> filter(fn: (r) => r[“_measurement”] == “Monitoring”)
|> filter(fn: (r) => r[“OEM”] == “99000”)
|> filter(fn: (r) => r[“_field”] == “filling”)
|> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)
|> yield(name: “mean”)