Commit Graph

945 Commits

Author SHA1 Message Date
Vish Kannan
621045b4d0 Merge pull request #481 from rjnagal/summary
Initial types for stats summary.
2015-02-04 09:36:39 -08:00
Rohit Jnagal
e94ccbc5e8 Initial types for stats summary. 2015-02-04 00:49:20 +00:00
Vish Kannan
c147e49e08 Merge pull request #486 from vmarmol/aufs
Specify that stats writing continued in error.
2015-02-03 16:45:15 -08:00
Victor Marmol
b2f49a954b Specify that stats writing continued in error. 2015-02-03 16:15:11 -08:00
Rohit Jnagal
0baec2ffc1 Merge pull request #485 from vmarmol/aufs
Allow partial success of GetStats().
2015-02-03 16:09:52 -08:00
Victor Marmol
86238d0179 Allow partial success of GetStats().
This should make us more robust in the face of failure (at the cost of
making the failures less prominent). We allow GetStats() to return an
error and a partial result. We will process the result and report the
error.

Fixes #306.
2015-02-03 15:26:31 -08:00
Vish Kannan
e699ec7845 Merge pull request #484 from vmarmol/aufs
Fix detection of AUFS layers.
2015-02-03 10:12:01 -08:00
Victor Marmol
01b456c129 Fix detection of AUFS layers.
We were using the container name instead of the Docker ID which breaks
in systemd systems.

Fixes #475.
2015-02-03 10:06:19 -08:00
Victor Marmol
b4a10bc17d Merge pull request #482 from rjnagal/cpu
Remove stale comments.
2015-01-31 19:24:38 -08:00
Rohit Jnagal
f9c6329af0 Remove stale comments.
We already added memory hierarchy.
2015-02-01 03:08:39 +00:00
Victor Marmol
e4c0b4838e Merge pull request #471 from kateknister/master
Added a test file for oomparser
2015-01-30 14:07:49 -08:00
Katie Knister
c806d603ba Added a test file for oomparser 2015-01-30 10:24:08 -08:00
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