-
What Grafana version and what operating system are you using?
10.2.3, Debian -
What are you trying to achieve?
I have a dashboard where a panel (for example network IO) is repeated for 1-n hosts that are selected via a variable (with the data coming from Prometheus).
In the drop down for the variable that selects the nodes, I can either select 1-n single nodes or the special element All
.
Problem is now, there are many nodes, an some belong logically together, so ideally I’d want to have a number presets, where each selects a certain group of hosts.
Now, AFAIU, directly creating preset as a special element like All
is not possible, i.e. I cannot define a webservers
name, which in fact select something like www.example.org
and www2.example.org
or so.
- How are you trying to achieve it?
I can however make something like a preset by using URLs to the dashboard and specifying 1-n variable values for it, e.g.
http://grafana.example.org/…mydashboard?var-node=www.example.org&var-node=www2.example.org
I can of course make some own webpage, which somehow creates the links and updates them as new nodes are added to groups, but is there some way to get this in grafana itself?
Ideally I’d want something like a home panel, that contains links to other dashobards, and where I can also set via e.g. some reg-ex or perhps some external file, which vars are to be set to which values.
I’ve seen Manage dashboard links | Grafana documentation but that seems to be only very limited and not really do the above.
Thanks,
Chris.