Within Grafana, I have several sensors collecting data, but I am unsure of how to give a ‘friendly’ name to the sensors below the graph.
Here’s a screenshot of what I am referring to: Imgur: The magic of the Internet
Thank you very much for the help!
Hi @vanimox ,
Welcome to the community forum !!
For naming labels you need to assign them an alias (where you name for e.g. a-complex-device-id = easy-alias)
Please check this post as it is also on the same topic.
I have a Time series graph, and in the legend, all of its lines are labelled as ‘Count’.
[image]
I’d like to use the query name which I specified in the input that says ‘Edit query name’ (‘foo’ in this screenshot’) as the labels in the legend.
[image]
I see that there’s a field called ‘Display name’ under ‘Standard options’. How can I use the query name?
Hope this helps.
hello,
you can add “label to field” transformation to be able to display correctly your legend value
or you can add |>group() function i believe to gather all your data in the same table.
should have the same result.
1 Like
grant2
August 4, 2022, 1:25pm
4
Even easier (in my opinion) is to use a transformation (Standard options > Display name):
1 Like
I need exactly what the override above does but I’d need it on more panels. Is there a way to centralise this kind of override?
I also need this to be generalized - were you able to figure this out?