Displaying tag value as panel title

Hello everyone,

I’m a new user of Grafana and InfluxDb. I’m trying to make my dashboard a little bit more comprehensive for non tech user.
In order to do so i’d like to display a specific tag as panel title.

In my dashboard i have a repeating panel with this request :

SELECT last("value") FROM "duration" WHERE ("serial" =~ /^$Serial$/) AND $timeFilter GROUP BY time($__interval) fill(null)

The result is displayed as a gauge and repeated thanks to the “Serial” variable :

SHOW TAG VALUES WITH KEY = "serial" 

I also have a “name” tag which i’d like to display in the panel title. I managed to display the “Serial” variable but i can’t find a way to just display a tag.
I don’t want this tag to appear as filter in the dashboard.

Is this something possible ?

Thanks for your help

That’s not possible. You can group also by tag name and then you can use it in the alias - you will see it in the panel (e.g. legend/tooltip), but not in the panel title.

1 Like