How do you use template variables safely on large environments?
IntermediateProductionDashboard Design Standards
Answer
Use chained variables (cluster → namespace → service), populate them with cheap queries (label_values(up{cluster="$cluster"}, namespace)), and avoid All on high-cardinality variables like pod, which can explode into thousands of series in a single query. Set a sensible default and use "refresh on time range change" only when needed. Regex-filter variables to hide system namespaces.
More on Dashboard Design Standards
What is the standard layout for a service dashboard?BeginnerWhat is the difference between RED and USE, and where do you apply each?BeginnerWhat anti-patterns do you see most in Grafana dashboards?BeginnerHow do you structure dashboards so engineers can drill down quickly?IntermediateHow do you show latency correctly on a dashboard?IntermediateWhat is `$__rate_interval` and why should dashboards use it?Intermediate