
Cadvisor (container advisor) provides container users an understanding of the resource usage and performance characteristics of their running containers.
cadvisor has native support for docker containers and should support just about any other container type out of the box.
cadvisor also exposes container stats as prometheus (http://prometheus.io) metrics.
this package provides golang library sources.