google / gvisor

Application Kernel for Containers
https://gvisor.dev
Apache License 2.0
15.9k stars 1.31k forks source link

Support container stats in the shim #3280

Open ianlewis opened 4 years ago

ianlewis commented 4 years ago

In the current containerd shim v2 implementation, we are not returning any stats in Stats, because gVisor doesn't support per-container stats yet.

We should add the support when gVisor supports it.

depends on https://github.com/google/gvisor/issues/172

ianlewis commented 4 years ago

Original issue: https://github.com/google/gvisor-containerd-shim/issues/15

ianlewis commented 4 years ago

After https://github.com/google/gvisor-containerd-shim/pull/50 we return some stats but not per-container stats.