6.03 Dynamic panels based on variables - MartinWong06/grafana GitHub Wiki

Refer Chapter 6 / Templating with cadvisor Dashboard

Variable Query

label_values(container_memory_usage_bytes{job="cadvisor"},name)

Panel PromQL

container_memory_usage_bytes{job="cadvisor",name=~"$container.*"}

Reference: https://prometheus.io/docs/prometheus/latest/querying/basics/

⚠️ **GitHub.com Fallback** ⚠️