I’m trying to build a dashboard where a queue is measured once an hour, but the data doesn’t arrive on the hour, it arrives at random when the measurement is done.
So far I have this:
|> range(start: dashboardTime)
|> filter(fn: ® => r._measurement == “zzz” and (r._field == “queue_size”))
|> aggregateWindow(every: 1h, fn: mean)
|> group(by: [“sysname”])
- The series are all named “_value[sysname=something]”, is there anyway that Chronograf or Flux names them by the “sysname”?
- In aggregateWindow, why can’t I use “fn: max”?
- If I have the group item, Chronograf only shows a set of boxes instead of data series names
- If I don’t have the group item, the series have super long name with all variables involved
Since just about every query will have a filter on measurement and on field, wouldn’t it make sense to have a separate function for those?