Commit Graph

865 Commits

Author SHA1 Message Date
Victor Marmol
5851645aa6 Setup necessary env variables for e2e. Also, don't run tests for trivial changes. 2015-01-26 16:19:45 -08:00
Victor Marmol
a3928d6930 Merge pull request #465 from domluna/doc-fixes
docs: broken relative link fixes
2015-01-26 14:26:47 -08:00
Dominique Luna
10841463ec broken relative link fixes 2015-01-26 17:20:28 -05:00
Victor Marmol
15ddd2430d Merge pull request #464 from rjnagal/cpu
Prefer scheddebug over netlink for cpu load.
2015-01-26 14:02:46 -08:00
Rohit Jnagal
db3d840a9d Prefer scheddebug over netlink for cpu load. 2015-01-26 20:44:12 +00:00
Victor Marmol
fbe23b0863 Merge pull request #461 from rjnagal/docker
Add scheddebug based cpuload reader.
2015-01-26 10:56:36 -08: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
4b9242dba3 Merge pull request #460 from vmarmol/js
Use internal IP in GCE for integration tests.
2015-01-25 16:16:03 -08:00
Victor Marmol
b2abaaa67b Use internal GCE IP when in GCE for integration tests 2015-01-23 16:01:11 -08:00
Victor Marmol
3ea09e78fd Adding GCE metadata lib 2015-01-23 15:56:21 -08:00
Victor Marmol
6148f04a4d Merge pull request #459 from rjnagal/docker
Refactor netlink implementation.
2015-01-23 15:49:40 -08: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
Victor Marmol
17e7c2db7f Merge pull request #458 from vmarmol/js
Implement integration tests targeting a remote host.
2015-01-23 11:05:13 -08:00
Victor Marmol
21bdea3dcc Add integration test runner.
Runner builds a cAdvisor, prepares it on a remote machine, and executes
the integration tests targetting the remote machines.

Script builds the runner and runs it.
2015-01-23 10:57:29 -08:00
Victor Marmol
5d579b43c9 Remove assertion that is only true in AUFS systems. 2015-01-22 15:00:45 -08:00
Victor Marmol
4347ccb7fd Implement remote command execution in the test framework.
Specifically, handles remote execution in GCE hosts.
2015-01-22 15:00:05 -08:00
Victor Marmol
eb6f9a9982 Adding extra logging to cAdvisor client errors 2015-01-22 14:59:41 -08:00
Rohit Jnagal
2c1da9e1be Merge pull request #455 from vmarmol/fix
Make network fields signed integers.
2015-01-21 06:55:32 -08:00
Victor Marmol
8f0f2299ab Make network fields signed integers.
The kernel reports -1 in case of errors so it should be an allowable
returned value.

Fixes #454.
2015-01-20 22:34:10 -08:00
Victor Marmol
51ed6a47a1 Merge pull request #448 from rjnagal/diskinfo
Move network graphs above filesystem info for root.
2015-01-20 07:57:16 -08:00
Victor Marmol
9f6c331165 Merge pull request #453 from rjnagal/docker
Add error checks for netlink read.
2015-01-20 07:56:56 -08:00
Rohit Jnagal
efa8890132 Add error checks for netlink read. 2015-01-20 06:53:57 +00:00
Rohit Jnagal
2a83a514cf Merge pull request #451 from vishh/spec
Adding 'HasDiskIo' to Container Spec
2015-01-19 22:44:38 -08:00
Vishnu Kannan
aedf42ba8c Adding 'HasDiskIo' to Container Spec to indicate if diskio stats are available for a given container. 2015-01-20 05:06:57 +00:00
Vish Kannan
82bd9e927e Merge pull request #449 from arkadijs/blkio
Add blkio cgroup to list of supported subsystems
2015-01-19 21:04:44 -08:00
Rohit Jnagal
3977f996c8 Move network graphs above filesystem info for root.
This is also consistent with the other container pages.
2015-01-18 05:20:53 +00:00
Arkadi Shishlov
fe7df00aec Add blkio cgroup to list of supported subsystems 2015-01-17 17:09:35 +02:00
Vish Kannan
1d49af5061 Merge pull request #447 from rjnagal/diskinfo
Add I/O scheduler information to validator.
2015-01-16 17:05:14 -08:00
Rohit Jnagal
001d32e146 Add I/O scheduler information to validator. 2015-01-17 00:47:31 +00:00
Victor Marmol
90e5dc9b08 Merge pull request #446 from rjnagal/diskinfo
Add scheduler type to disk info.
2015-01-16 16:10:52 -08:00
Rohit Jnagal
aa398c800a Add scheduler type to disk info.
Type can be one of "none", "noop", "deadline", "cfq".
For block devices that don't use scheduler (like dm), the type will be "none".
We'll also report "none" for partitions when we start reporting those.
2015-01-17 00:09:07 +00:00
Victor Marmol
909fa133e1 Merge pull request #445 from rjnagal/docker
Add task load stats to containers.
2015-01-16 16:00:50 -08: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
Victor Marmol
fa27e5e344 Merge pull request #442 from arkadijs/xen
Also process /dev/xvd? partitions
2015-01-16 10:14:17 -08:00
Arkadi Shishlov
f9e5b04d8a Also process /dev/xvd? partitions 2015-01-16 19:30:18 +02:00
Vish Kannan
308f03f9b9 Merge pull request #440 from rjnagal/docker
Remove duplicate assignment.
2015-01-14 16:07:27 -08:00
Rohit Jnagal
bcd46d13cd Remove duplicate assignment. 2015-01-14 23:30:47 +00:00
Victor Marmol
ffa108f148 Merge pull request #439 from rjnagal/docs
Handle root network device names other than eth.
2015-01-14 14:43:42 -08:00
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
Victor Marmol
046479b0a4 Merge pull request #438 from rjnagal/docs
Verify and fix error message nit :)
2015-01-13 17:17:44 -08:00
Rohit Jnagal
ed155019ac Verify and fix error message nit :) 2015-01-14 01:15:13 +00:00
Victor Marmol
44af35d3d7 Merge pull request #437 from rjnagal/docker
Add a utility to read cpu load stats.
2015-01-13 16:49:29 -08:00
Rohit Jnagal
aeee52161c Add a utility to read cpu load stats. 2015-01-14 00:41:53 +00:00
Vish Kannan
57c6fb08f4 Merge pull request #434 from vmarmol/release
cAdvisor 0.8.0
2015-01-12 13:23:39 -08:00
Rohit Jnagal
5896bcadc4 Merge pull request #433 from vmarmol/docs
Adding documentation for enabling memory cgroup in Debian.
2015-01-12 10:23:56 -08:00
Victor Marmol
af92b9b7e7 Adding documentation for enabling memory cgroup in Debian.
Fixes #432.
2015-01-12 08:46:56 -08:00
Victor Marmol
ea8806070d cAdvisor 0.8.0 2015-01-12 08:41:33 -08:00
Victor Marmol
4321e7d42a Merge pull request #431 from rjnagal/cpu
Remove sched stats scraping utils.
2015-01-10 00:04:06 -08: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
Victor Marmol
c7dd9a0da1 Merge pull request #430 from rjnagal/docs
Add travis check for go files boilerplate.
2015-01-09 11:47:10 -08:00