Hello,
At the moment, I am able to get all tag keys using query function: https://github.com/influxdata/influxdb-client-java/blob/master/client/src/main/java/com/influxdb/client/QueryApi.java#L59
with parameter:
from(bucket: "telegraf/autogen") |> range(start: -30m) |> columns() |> keep(columns: ["_value"]) |> group() |> distinct()
Is there a better approach to get all unique tag keys from some bucket, ideally using Flux DSL builder?
Thank you in advance,
Mladen
Hello,
At the moment, I am able to get all tag keys using query function: https://github.com/influxdata/influxdb-client-java/blob/master/client/src/main/java/com/influxdb/client/QueryApi.java#L59
with parameter:
from(bucket: "telegraf/autogen") |> range(start: -30m) |> columns() |> keep(columns: ["_value"]) |> group() |> distinct()Is there a better approach to get all unique tag keys from some bucket, ideally using Flux DSL builder?
Thank you in advance,
Mladen