Unable to get panel alias to use influxdb tags

I am not able to get the panel Alias field to show me a tag from influxdb

InfluxDB tag for measurement

> show tag keys from latency_90th_percentile
name: latency_90th_percentile
tagKey
------
__name__
datacenter_name
>

I have tried various iterations of $tag_datacenter_name [[tag_datacenter_name still no luck. Running Grafana 7.4

What’s the actual query you’re running? The query needs to include a GROUP BY my_tag_name clause in order for the alias to work that way.

1 Like

Ah, I did not have that set in the GROUP BY fields. I added it there and I am now able to parse that tag from the alias field. Thank you!

1 Like