Grafana Variables – Multiple Variable Selectors in Grafana

grafana

I have created a Grafana graph panel that uses two variables: host and ifAlias. I would like to be able to select a second combination from the dashboard as seen below. How can I do this?Grafana Mockup

Best Answer

My suggestion would be to enable multi select on the variables and then let the whole row repeat based on variable A and each graph repeat based on the variable B.

To illustrate the outcome of my suggestion see this image (though there is no data in the graphs because of the lack of it in my prometheus):

grafana screenshot

I created first a Row and configured it to be named "$container" and repeated for each "$container", then created the first graph in this row and set its name to be "$container - $interface" and be repeated for each "$interface".