How to create a variable per row depending on a variable

I have a variable which contains the instances I want to analyse.
based on this variable I repeated my dashboard row.
Now I want to have the total memory of the server referenced by this row.
so I used query_result( node_memory_MemTotal_bytes{instance=~"$host.*"})
but this gives me the total mem of the first row for all rows.

This topic was automatically closed after 365 days. New replies are no longer allowed.