I want to select all distinct values of db into a Grafana variable. I get only the first value. The query is the following:
from(bucket: “Telegraf”)
|> range(start: v.timeRangeStart, stop: v.timeRangeStop)
|> filter(fn: ® => r["_measurement"] == “postgresql”)
|> keep(columns: [“db”])
|> distinct(column: “db”)