<img border=0 src='https://avatars.githubusercontent.com/u/8819678?v=3' height=16 width=16'> Basically, for every block (starts with "Refreshing" and lists a bunch of processes doing stuff), it sums the received and sent bytes of all of them, but skipping those who are not in PIDS, meaning we ignore those not from the observed container.
fixes #61, fixes #58, fixes #56, fixes #54, fixes #3
Todos:
query.take(2000)
?conf["dest_table"] == "process"
? This would be the only case in which you actually havecutProcesses
with the correct value.PIDS
that are not belonging to the container?getBytesSum
-->getBytesSumForContainerPIDS
if
it is not suitable for this check?else
part of the statement. You can place it after theif..else
block then.remaining
todos