Templating with multiple linked variables and repeating panels

I have Prometheus metric eg. some_metric and it has following labels job, instance and nodename.
Templating query is following labels_values(some_metric, instance) and its record value to $host variable
This is working fine and work fine also with repeating panels there I can get instance visible using that $host variable.

If I want to get second variable like $hostname and make query label_values(some_metric{instance="$host"}, nodename). This is working also fine and I am able to get $host and $hostname variable to print their values on the screen then single panel is visible.

As soon as I try to repeat panel I lost $hostname from the screen and it comes to None value. Is it possible to get that working some way?

1 Like

How about just trying label_values(nodename)