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

[FEATURE REQ] add monitoring of system resources given docker container id #91

Closed
MadhavJivrajani opened this issue Jan 16, 2021 · 0 comments · Fixed by #102
Closed
Assignees
Labels
discussion issue needs to be discussed and decision neeeds to be taken. enhancement New feature or request feature priority: medium

Comments

@MadhavJivrajani
Copy link
Member

MadhavJivrajani commented Jan 16, 2021

Is your feature request related to a problem? Please describe.
Given that functionality for resource monitoring is provided on a per-process basis, I think it'd be super cool to have this feature for Docker containers as well.

Describe the solution you'd like
grofer docker --cid cid
grofer export --cid cid

Proposed solution
Gopsutil provides good support for getting info about containers.

Beyond this, the extended proc functionality of gopsutil can be used by obtaining the PID from the container ID by running something like docker inspect -f '{{.State.Pid}}' <Container ID>

Additional context
Need to see if information for all the currently provided widgets is obtainable.

@MadhavJivrajani MadhavJivrajani added enhancement New feature or request priority: medium feature discussion issue needs to be discussed and decision neeeds to be taken. labels Jan 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion issue needs to be discussed and decision neeeds to be taken. enhancement New feature or request feature priority: medium
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants