Aws instance hostname not coming in grafana dashboard

In grafana iam getting instance id as LEGENDS in right hand side for graph i need instance hostnames or tag . Please help me.

iam using datasource as CLOUDWATCH in grafana

As far as I’m aware this can’t be achieved.
AWS only returns the instanceId in the query result and so that is all Grafana can display.
I’m happy to be proved wrong though.