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

container disk usage so high #277

Open
ukshark opened this issue Dec 10, 2022 · 3 comments
Open

container disk usage so high #277

ukshark opened this issue Dec 10, 2022 · 3 comments

Comments

@ukshark
Copy link

ukshark commented Dec 10, 2022

hi, all is good apart from container disk usage.
if i do this is promethrus:
sum(container_fs_usage_bytes)

i get:

{} | 184907225694208

the host only hase 500G , and this comes out at 168TiB

Any clues?

@ukshark
Copy link
Author

ukshark commented Dec 11, 2022

I worked out cAdvisor was counting external NFS mounts from my NAS.
Anyway of stopping it counting it as container fs usage?

@nightah
Copy link
Collaborator

nightah commented Dec 14, 2022

You can exclude the location(s) in the respective queries.

@chintanp
Copy link

There is a lot of repetition when I check this expression container_fs_usage_bytes in Prometheus. Not sure how to reduce it down. I think either the query has to change or a more refined filter criteria needs to be used. I have one other container besides the monitoring containers.

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

3 participants