简体   繁体   中英

How to hide terminated pods from Grafana dashboards

I'm using Grafana dashboards packaged with DigitalOcean Kubernetes Monitoring Stack . 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!

To change this in Grafana, open the Variables menu, then change $pod variable to refresh On Time Range Change :

在此处输入图像描述

Source: https://devops.stackexchange.com/questions/6308/keeping-graphs-of-terminated-kubernetes-pods-in-prometheus-grafana

Hope it helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM