Hi, I’m trying to create a templating variable that provides a list of the server names based on a role that’s defined in the series name.
My metrics are of the form
where role would be something like role_a or role_b for example.
What I tried was
…but this just returns the last component of the series not the wildcard component. I’d like a way to create a template variable for role_a and another for role_b and then uses these within the relevant dashboards.
With influxdb as a backend this is simple - show series + regex, but I’m struggling with graphite as a backend to achieve the same thing
Is this possible, or am I going about it the wrong way?
Any help appreciated!
graphite data source (0.9.15)