Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hide grafana panels based on selected template variable

I am trying to develop kind of dropdown list with metrics and accordingly to selected metric specific panel supposed to appear on dashboard. And vice versa if metric unselected, panel should be hidden.
I found the link http://search-devops.com/m/k2DBF2DCJuDrRWa1&subj=Re+grafana+Hide+panels+based+on+results where 2015-10-26 it was told that it is not possible to do.
But maybe some functionality was developed until that time which allow to show/hide grafana panel?

like image 277
Andrey Avatar asked Aug 31 '16 18:08

Andrey


1 Answers

Need to use Repeat Panel option for graph https://github.com/grafana/grafana/issues/1888 and configure a variable in templating options http://docs.grafana.org/reference/templating/#utilizing-template-variables-with-repeating-panels-and-repeating-rows

like image 97
Andrey Avatar answered Sep 19 '22 14:09

Andrey