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

Capture disk usage metrics #602

Open
bloodearnest opened this issue Mar 27, 2023 · 0 comments
Open

Capture disk usage metrics #602

bloodearnest opened this issue Mar 27, 2023 · 0 comments

Comments

@bloodearnest
Copy link
Member

bloodearnest commented Mar 27, 2023

Now that we're on BindMountAPI in TPP, we can look at capturing detailed diskusage metrics or a job.

Previously, we had to use docker system df to track volume sizes, which was slow and added to the overloading the docker API problem.

But now we own the directories themselves, a simple du -d 1 /srv/high_privacy/volumes would gives us all volume sizes, which we can report on our spans just like CPU and memory (and record the high water mark).

Ideally, we'd track the total volume disk usage and also the new disk usage (which is current total - the disk usage post-PREPARE), as that might be a useful signal.

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