Commit Graph

933 Commits

Author SHA1 Message Date
Victor Marmol
dd4735addd Merge pull request #479 from rjnagal/cpu
Fix typo in netlink example.
2015-01-30 09:03:51 -08:00
Rohit Jnagal
0b7e41c991 Fix typo in netlink example. 2015-01-30 16:56:34 +00:00
Victor Marmol
8963f00f78 Merge pull request #477 from rjnagal/cpu
Set of fixes for cpuload calculations.
2015-01-29 14:45:38 -08:00
Rohit Jnagal
62b02a6b94 Set of fixes for cpuload calculations.
. Remove counting of taskgroups from scheddebug.
. Move monitoring thread 500ms ahead of other containers housekeeping.
. Rely on /proc/loadavg for root load.
. Cover up for scheddebug atomicity issues (WIP)
. Remove counting of monitoring thread.

Getting better, but still a bit farther away from ideal load :(
2015-01-29 22:27:07 +00:00
Victor Marmol
ef2d9d1c76 Merge pull request #472 from rjnagal/docker
Add cpu load graph to UI.
2015-01-27 23:14:51 -08:00
Rohit Jnagal
a7603df953 Add cpu load graph to UI. 2015-01-28 07:04:41 +00:00
Victor Marmol
b56be25c32 Merge pull request #470 from rjnagal/docker
Rename load to load average.
2015-01-27 17:00:38 -08:00
Rohit Jnagal
667a8e0fd1 Rename load to load average.
Load is now LoadAverage. Also added comments about smoothing interval.
2015-01-28 00:37:45 +00:00
Vish Kannan
bc1b58eb26 Merge pull request #469 from vmarmol/e2e
Expect user + cpu to be within 500ms of total.
2015-01-27 16:17:16 -08:00
Vish Kannan
8c44eb0551 Merge pull request #468 from rjnagal/docker
Compute smoothed cpu load for containers.
2015-01-27 14:02:56 -08:00
Victor Marmol
593d546946 Expect user + cpu to be within 500ms of total.
This should be a sane default.
2015-01-27 13:51:32 -08:00
Rohit Jnagal
33c2cac71d Compute smoothed cpu load for containers. 2015-01-27 20:21:53 +00:00
Victor Marmol
46c31a8d9b Merge pull request #462 from kateknister/master
Made an oomparser that gets oomkill logs from kernel messages
2015-01-27 11:58:30 -08:00
Katie Knister
b5609e2942 Made an oomparser that gets oomkill logs from kernel messages
Made an oomparser that gets oomkill logs from kernel messages

Made an oomparser that gets oomkill logs from kernel messages

Made an oomparser that gets oomkill logs from kernel messages

Made an oomparser that gets oomkill logs from kernel messages

Made an oomparser that gets oomkill logs from kernel messages

Made an oomparser that gets oomkill logs from kernel messages
2015-01-27 10:26:38 -08:00
Rohit Jnagal
6f1e95001e Merge pull request #466 from vmarmol/e2e
Setup necessary env variables for e2e. Also, don't run tests for trivial...
2015-01-26 20:45:27 -08:00
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
01e59ec3b4 Merge pull request #467 from rjnagal/docker
Make cpu load stats hierarchical for scheddebug.
2015-01-26 16:02:24 -08:00
Rohit Jnagal
c26ca15cc7 Make cpu load stats hierarchical for scheddebug. 2015-01-26 23:48:39 +00: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