I have several routers with SNMP monitoring via Prometheus and Grafana. All routers have different quantity interfaces. I created a dashboard with the variable “Instance” and add all interfaces but this is not comfortable because I see blank panels with missed interfaces on other routers. How to hide blank panels with absent interfaces?
There is an open suggestion for the feature to hide empty/ no data panels :
I suggest in your case two variables for selections (instance and interface which will be related, if you choose instance you’ll have a dropdown for available interfaces), another approach is to aggregate all interfaces on panels, and filter routers which doesn’t have interfaces using query.
Hope it helps.