Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在 docker 里面运行时,磁盘使用量显示问题 #217

Open
haodiao opened this issue Apr 21, 2024 · 3 comments
Open

在 docker 里面运行时,磁盘使用量显示问题 #217

haodiao opened this issue Apr 21, 2024 · 3 comments
Labels

Comments

@haodiao
Copy link

haodiao commented Apr 21, 2024

因为 docker 里面有些配置文件也是挂载的。
新版的探针会显示出每一个挂载的配置文件路径的容量
虽然能显示所有挂载点的容量,初衷是好的,
docker这种情况有什么判断来折叠显示吗?否则显示一列10多条都是一样的,不太好看

@kmvan
Copy link
Owner

kmvan commented Apr 24, 2024

请问有docker下显示的截图吗?我没用过docker,可能需要更多信息。

@haodiao
Copy link
Author

haodiao commented Apr 30, 2024

image

就是显示太多这种挂载到docker里的配置文件路径

可以通获取到挂载磁盘的ID、文件系统类型、空间大小和已占用的空间大小,等等这些信息进行比较,如果是相同的话就认为是同一个磁盘,就折叠显示这些相同的磁盘

@kmvan
Copy link
Owner

kmvan commented May 3, 2024

这个好处理,下个版本会把总空间和占用空间字节数作为判断依据,如果一样就只显示第一个。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants