-
What Grafana version and what operating system are you using?
Grafana 11.1, Ubuntu 20.04 -
What are you trying to achieve?
I do have influxdb 1.8 using InfluxQL
I make query where I group by tag:device_id, which returns multiple series. I use timeseries panel to trend value over the time. The legend of panel then shows name of field + tag
I want to change in legend of panel the tag:device_id, which is number to string (name of device). The number of series (tags) can be very big and is growing as more devices are installed over time.
There is another measurement , where is tag:device_id and field called device_name + some additional fields (SW version, uptime,…). So I actually have data to map device_id to device_name but I am unable to get it work in timeseries panel.
Using Override - series name is not doable as number of series is big and not fixed
I can’t figure out SQL query or transformation which would rename tag value based on another query (SQL table like, or timeseries result)
Can someone advise, please.
Martin
-
How are you trying to achieve it?
-
What happened?
-
What did you expect to happen?
-
Can you copy/paste the configuration(s) that you are having problems with?
-
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
-
Did you follow any online instructions? If so, what is the URL?