Rohit Jnagal
3780075bad
Handle root network device names other than eth.
...
New logic ignores veth, docker, and loopback devices.
2015-01-14 22:28:59 +00:00
Rohit Jnagal
aeee52161c
Add a utility to read cpu load stats.
2015-01-14 00:41:53 +00:00
Rohit Jnagal
14844dbedd
Remove sched stats scraping utils.
...
sched_debug is getting the wrong load information. Runnable tasks list
in the output include running and sleeping tasks. We only need to look
at nr_running for each scheduling entity to figure out load. We also
don't need per-core stats.
I am going to redo these to derive per-cgroup load from nr_running.
2015-01-10 07:08:35 +00:00
Rohit Jnagal
de0e8e28eb
Add percentiles utility methods.
...
This is copied verbatim for our older prototype. We'll use it as
a starting point for building stats summary.
2015-01-09 17:36:51 +00:00
Vish Kannan
54834156eb
Merge pull request #407 from rjnagal/diskinfo
...
Add network stats to root container.
2015-01-02 10:06:11 -08:00
Rohit Jnagal
aee5c36313
Fix vet errors
2015-01-01 22:41:55 +00:00
Rohit Jnagal
45334c6f71
Add network stats to root container. Provides machine-level networking stats.
2014-12-30 17:12:42 +00:00
Rohit Jnagal
3836d1e2ec
Refactor common methods out of sysfs package and add tests.
2014-12-29 17:09:27 +00:00
Rohit Jnagal
04fef734d2
Merge pull request #402 from rjnagal/diskinfo
...
Add ethernet devices information to machine endpoint.
2014-12-26 09:47:11 -08:00
Rohit Jnagal
496ee65cc2
Add ethernet devices information to machine endpoint.
2014-12-25 21:15:21 +00:00
Vish Kannan
2d58ee4643
Merge pull request #401 from rjnagal/docs
...
Skip ROM devices in disk map.
2014-12-25 12:41:07 -08:00
Rohit Jnagal
1f23693de8
Skip ROM devices in disk map.
2014-12-25 19:01:27 +00:00
Rohit Jnagal
5994c17b1e
Add cache info to machine topology
2014-12-22 17:54:36 +00:00
Rohit Jnagal
e5200948f5
Add a disk map to machine info.
...
This is read once at start of cAdvisor. We can use this to report
machine state as well as return logical name for block devices in UI.
Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-12-17 00:15:50 +00:00
Vishnu Kannan
3e390e0f33
Use glog instead of 'log' library.
...
Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
2014-08-07 18:38:58 +00:00
Nan Deng
324874411d
the unit in /proc/<pid>/schedstat should be ns
2014-08-06 11:03:40 -07:00
Nan Deng
b804ceac30
read core loads from /proc/sched_debug
2014-07-30 17:30:01 -07:00
Nan Monnand Deng
2e98607373
license on mockfs.go
2014-07-25 20:00:59 -04:00
Nan Monnand Deng
de867f19af
use gomock
2014-07-25 19:58:54 -04:00
Nan Monnand Deng
32ae136095
mockfs
2014-07-25 19:35:13 -04:00
Nan Deng
03a5d0617c
procfs package
2014-07-25 13:56:30 -04:00
Vishnu Kannan
ef13440034
Addressed comments. Another series of bug fixes.
...
Modified the docker driver and lmctfy driver to skip containers they cannot handle.
2014-07-22 19:55:14 +00:00
Vishnu Kannan
5aae36726f
Fixed bugs introduced in previous patches.
2014-07-22 18:58:16 +00:00
Vishnu Kannan
abfcd4923a
Adding utils package
2014-07-22 18:58:16 +00:00