iam using prometheus and grafana to monitor my Ec2,i have a auto scaling group which creates ec2 when needed,iam trying create a single panel for 'cpu utilisation' which plot cpu utilisation of every instance.when autoscaling group creates an a new instance automaticaly identified by service discovery of prometheus.but how we can plot the details of new instance in same existing graph,i found repeat option which not suitable in my case.i want to plot in same graph.
the repeat option in not suitable in this case ,the solution is that use Prometheus service discovery which will automatically add targets to Prometheus server,and use a custom label there (example:filter ec2 which will start with ASG
string and add a label for them)in grafana use this label to filter