On a support ticket, a customer asked about the possibility to filter Interface Resources by ifAlias, to facilitate the user experience on Grafana dashboard when interacting with custom panels based on variables.
Currently, we have nodeFilter which allows you to pass an expression to "select" a sub-set of nodes.
For resources, we only have nodeResources which returns a list of Resource IDs. This works but it is not a human readable information. It would be nice to be able to retrieve all the "string" properties for a given resource and choose which to show on the drop-down box, or maybe use the "Resource Label" for this purpose.
This is why I believe that creating a new method called resourceFilter makes sense, not only to return a map (resourceId vs the chosen element for the label), but also to filter the resources to display.