Multiple EC2 Instances in Grafana Dashboard


I have a situation that I’m using the ec2_instance_attribute(us-east-1, Tags.Name, {}) to get the all my instances name based on the tag:Name and using ec2_instance_attribute(us-east-1, InstanceId, {"tag:Name": ["$instancename"]}) to get a instanceId based on this name.

The problem is, I would like to monitor more than 1 instance in a single panel, but I can not, since I can only select 1 instance.

I think the problem is: I can not use tag:Name as Dimension in the query.

Can someone help me?

Thank you!

1 Like