I’m struggling a bit with templating, I cannot find a way to properly group my servers so that the same panels do not get duplicated.
Let’s say I have web servers and db servers, websrv0 and dbsrv0 .
I would need a variable that would either allow displaying of all websrv* or dbsrv* . What is being displayed (metrics) does not matter so far; I want to be able to select which server group is displayed in the panel, from a drop-down menu.
How should I go to build the query-ies ?
Using Grafana 4.1.2 with Graphite and Collectd.