Using different tag and values in a variable

here’s the problem.
My metrics have a cluster id that looks like a Unix UUID (it’s unique but not for humans).

I’m using a variable to choose the current cluster.
when getting the values for that variable, I would like to get the tag values from one source (Prometheus, metrics label) and the tags from a different source (a different Prometheus label).

A similar problem is when your nodes have a name and I would like to use the name for the tags but the ip for the tags value.