pai icon indicating copy to clipboard operation
pai copied to clipboard

job container network traffic metrics monitor

Open YanjieGao opened this issue 8 years ago • 1 comments

phenomenon: As job container use host network, job container's network traffic get 0 from docker status cmd. Job metrics page network traffics will always shows zero.

Job submit cmd & config: https://github.com/Microsoft/pai/tree/master/rest-server/src/templates

Have tried other source to get this per container metrics of host network container, but failed: (1) docker status cmd network zero (2) docker api not return network traffic item (3) /proc/container_pid/net/dev show host network container same eth0 traffics, its host traffics (4) kubelet build in cadvisor show host network container same eth0 traffics, its host traffics

YanjieGao avatar Jun 13 '18 06:06 YanjieGao

Please view this: https://github.com/Microsoft/pai/pull/764

YanjieGao avatar Jun 27 '18 01:06 YanjieGao