<p>I'm using Grafana dashboards packaged with <a href="https://marketplace.digitalocean.com/apps/kubernetes-monitoring-stack" rel="nofollow noreferrer">DigitalOcean Kubernetes Monitoring Stack</a>. I would like my pod select dropdowns in dashboards to hide terminated pods, as I have a lot of them in there and only care about the running ones. I presume I should edit the queries somewhere but am not familiar with them so appreciate any pointers, thanks!</p>

demiters
<blockquote>
<p>To change this in Grafana, open the  <code>Variables</code>  menu, then change  <code>$pod</code>  variable to refresh  <code>On Time Range Change</code>:</p>
<p><a href="https://i.stack.imgur.com/qStHB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qStHB.png" alt="enter image description here" /></a></p>
</blockquote>
<p>Source: <a href="https://devops.stackexchange.com/questions/6308/keeping-graphs-of-terminated-kubernetes-pods-in-prometheus-grafana">https://devops.stackexchange.com/questions/6308/keeping-graphs-of-terminated-kubernetes-pods-in-prometheus-grafana</a></p>
<p>Hope it helps.</p>
