I’m trying to make use of the K6 dashboard that is available as template but when I’m using this query for representation of the Requests per Second:
from(bucket: "<bucket_name>")
|> range(start: v.timeRangeStart, stop: v.timeRangeStop)
|> filter(fn: (r) => r["_measurement"] == "http_reqs")
|> filter(fn: (r) => r["_field"] == "value")
|> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)
|> yield(name: "mean")
The fiels appear with too much information, in a disorganized way. This is the first time I’m using Flux query language so I’m not familiar with it.
Please help me organize the values in the legend so they have a single title.
This is how they look:
Thanks!