Thomas Orozco
2e1f0e2a08
Use a dedicated CpuLoadReader per container
...
This ensures each goroutine is given its own Netlink connection, and
presumably avoids having a message destined for one goroutine read by
another goroutine.
2016-05-18 09:34:13 +02:00
Lei Xue
dbbe38dfed
re-order the import package
2015-11-30 16:43:22 +08:00
Rohit Jnagal
aea95e3228
Remove sched debug based load implementation.
2015-04-10 21:50:55 +00:00
Rohit Jnagal
872546ba3a
Bulk move current info api to info/v1. Making room for info/v2.
2015-03-04 00:47:28 +00:00
Rohit Jnagal
db3d840a9d
Prefer scheddebug over netlink for cpu load.
2015-01-26 20:44:12 +00:00
Rohit Jnagal
67af1a1bbd
Add scheddebug based cpuload reader.
...
Prefer netlink based reader when available as it provides stats for
processes in state other than running (sleep, diskio, uninterruptible).
2015-01-26 18:46:29 +00:00
Rohit Jnagal
1375f451b2
Refactor netlink implementation.
...
This allows us to plug in a scheddebug based interface.
2015-01-23 23:07:50 +00:00
Rohit Jnagal
cbdd96a554
Add task load stats to containers.
...
The stats are only populated when cAdvisor is running outside network namespaces.
We'll add a different backend to retrieve the same data from within namespaces.
2015-01-16 23:25:22 +00:00
Rohit Jnagal
aeee52161c
Add a utility to read cpu load stats.
2015-01-14 00:41:53 +00:00