admin管理员组文章数量:1395780
I work with grafana v11.5.2, the datasource is prometheus.
I want to have a variable var1 that takes the distinct values for a criteria AND variable var2 that based on selected var1 value gives the multi value option for a second field.
For instance, var1
can be aaa
or bbb
. when aaa
is selected, i want var2
to be 111
or 222
. when bbb
is selected, var2
to be 333
or 444
. right now, it does not care what I select as var1
, and var2
always shows up all the options 111, 222, 333, 444
.
How can I write var2 in dependence to var1 chosen value?
(var1 and var2 values should be dynamically read from prometheus, but related by a filter condition.)
Thanks
本文标签: prometheusGrafana VariablesStack Overflow
版权声明:本文标题:prometheus - Grafana Variables - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744708644a2620991.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论