Hello.
I am trying to create a panel with cloudwatch data source. The metric requires the ebs volume id and the associated instance id.
I have created a template variable that queries the volume ids and would like to be able to create a panel repeated by that variable.
I have another template variable that queries the associated instance id based on the volume id variable.
It works fine when I select 1 volume id only. The problem occurs when I select multiple volume ids. With different volume ids, the query result for instance ids is the same for each panel. So it looks like the instance id variable is queried with multiple values of the volume id variable. Is there a way to get an index of the multi-panels?
Or am I approaching the problem wrongly? Is there a correct way to do this? Or can I have a template variable with multiple values?
Thank you!