Hello Grafana Community,
I’m currently facing an issue with the time range on my Grafana dashboard. I’m using InfluxDB as my data source and Flux as my query language.
Here’s the Flux query I’m using:
from(bucket: “BF23Arm1”)
|> range(start: v.timeRangeStart, stop: v.timeRangeStop)
|> filter(fn: (r) => r[“_measurement”] == “TOTAL _ DEFECT_VISUAL”)
|> filter(fn: (r) => r[“_field”] == “value”)
|> aggregateWindow(every: 1h, fn: last, createEmpty: false)
|> yield(name: “last”)
I want to plot the graph in 1 hr window e.g 6:00 ~ 7:00, 7:00 ~ 8:00 and so on
9 posts - 2 participants