Is it possible to place a variable in the Alias box (legend) for the chart in Grafana?

Change the EC2 dashboard (617) for personal use (source CloudWatch).
Created and named variable:
Name: PrivateDnsName
Query:
ec2_instance_attribute ($region, PrivateDnsName, {"instance-id": ["$instanceid"]})


Question: is it possible the variable to display on the chart as a legend and how can this be done?
Put the variable in the Alias field in the form {{$PrivateDnsName}}. But it doesn't work.
April 19th 20 at 12:40
1 answer
April 19th 20 at 12:42
I have here a Taco works
p:{{pod}}, c:{{container_name}}, $namespace
That is, just without the brackets

Find more questions by tags Amazon Web Services