-
Notifications
You must be signed in to change notification settings - Fork 34
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
Get network statistics per container #35
Comments
FYI, so you can add them in: https://github.com/criteo/garmadon/blob/master/jvm-statistics/core/src/main/java/com/criteo/jvm/statistics/NetworkStatistics.java |
From my understanding this will provide metrics from the OS point of view not from containers, no? |
@ashangit |
AFAICT packets & errors are at interface levels so you cannot get per process. |
Ok my bad |
@ashangit Don't seem to be obvious. nethogs (https://github.com/raboof/nethogs) uses libpcap to decode packet header and get length of the packet to know what is the real time bandwidth use by the process. Honestly I don't see solution to attribute network activity per process |
Well after some research: I may have find a solution in
|
Looks to be a good startup, just have some concerns on the impact it could have on loaded servers |
Some of our users would like to have some network statistics from containers, like:
To get those metrics we can rely on /prod//net/dev file and use same mechanism than the process tree one used on nodemanagers to get mmemory/vcore used by container.
The text was updated successfully, but these errors were encountered: