I am setting up a dashboard in Grafana that would take data from Cloudwatch and show metrics related to TargetGroups. Most of the metrics need the loadbalancer as a dimension as well. How to query the loadbalancer name if I have the Target Group name?
For templating, I am getting the available loadbalancers with a query. This is giving all the loadbalancer names and that is not very helpful for the user
This is giving all the loadbalancer names.
dimension_values($region,AWS/ApplicationELB,HealthyHostCount,TargetGroup)
Is there any filter or another method to only get the loadbalancers associated with the specific Target Group I have?