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

Ignore /snap/* mounts #52

Open
stayallive opened this issue Feb 24, 2022 · 0 comments
Open

Ignore /snap/* mounts #52

stayallive opened this issue Feb 24, 2022 · 0 comments

Comments

@stayallive
Copy link

stayallive commented Feb 24, 2022

Is it possible to configure the agent to ignore snap mounts since they are always 100% full and are useless to see in the stats :)

I checked the diskusage plugin but saw no configurable option to do it myself I believe.

df -h output:

Filesystem                         Size  Used Avail Use% Mounted on
udev                               7.8G     0  7.8G   0% /dev
tmpfs                              1.6G  1.3M  1.6G   1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv  313G   25G  273G   9% /
tmpfs                              7.9G   16K  7.9G   1% /dev/shm
tmpfs                              5.0M   32K  5.0M   1% /run/lock
tmpfs                              7.9G     0  7.9G   0% /sys/fs/cgroup
/dev/vda2                          976M  207M  703M  23% /boot
/dev/loop1                          56M   56M     0 100% /snap/core18/2284
/dev/loop0                          56M   56M     0 100% /snap/core18/2128
/dev/loop2                          71M   71M     0 100% /snap/lxd/21029
/dev/loop3                          68M   68M     0 100% /snap/lxd/21835
/dev/loop5                          62M   62M     0 100% /snap/core20/1328
/dev/loop7                          44M   44M     0 100% /snap/snapd/14978
/dev/loop4                          62M   62M     0 100% /snap/core20/1361
tmpfs                              1.6G     0  1.6G   0% /run/user/0

Result in nixstats:

image

vfuse added a commit that referenced this issue Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant