gvisor/runsc/sandbox
Kevin Krakauer 5f7bf31526 Stub out basic `runsc events --stat` CPU functionality
Because we lack gVisor-internal cgroups, we take the CPU usage of the entire pod
and divide it proportionally according to sentry-internal usage stats.

This fixes `kubectl top pods`, which gets a pod's CPU usage by summing the usage
of its containers.

Addresses #172.

PiperOrigin-RevId: 355229833
2021-02-02 12:47:23 -08:00
..
BUILD
network.go
network_unsafe.go
sandbox.go Stub out basic `runsc events --stat` CPU functionality 2021-02-02 12:47:23 -08:00