What Grafana version and what operating system are you using?
Grafana v126.96.36.199 on Azure Grafana
What are you trying to achieve?
I have a line chart with labels of an ID. I also have an SQL table in which the IDs are mapped to simple strings. I want to alias the IDs in the label to the strings from the SQL
How are you trying to achieve it?
I am trying to look for a transformation for the same. I found something related, but i don’t think I can use this - Ask Us Anything: How to Alias Dashboard Variables in Grafana in SQL | Grafana Labs
There is a transformation called “rename by regex”, but that will require me to hardcode for each case. Is there something similar to “rename by query”
If the above approach doesn’t work, can I hardcode with some keyvalue parirs?