Commit Graph

918 Commits

Author SHA1 Message Date
Victor Marmol
e7fd18c24d Allow the runner to run tests on multiple instances. 2015-02-17 08:17:37 -08:00
Vish Kannan
13e86e69ff Merge pull request #511 from vmarmol/no-screen
Don't use screen to run cAdvisor in the background.
2015-02-17 08:13:11 -08:00
Victor Marmol
e42ca5787d Don't use screen to run cAdvisor in the background.
Some distros don't have screen. Here we wait for cAdvisor to come up
before continuing.
2015-02-17 06:33:45 -08:00
Victor Marmol
31769a89dd Merge pull request #509 from rjnagal/summary
Add derived stats tracking to containers.
2015-02-16 13:55:50 -08:00
Rohit Jnagal
2406b6c55b Add derived stats tracking to containers. 2015-02-16 20:44:34 +00:00
Victor Marmol
e1e8fb48b7 Merge pull request #506 from difro/sysfsnetdev
Filter out non-netdev entries in sysfs/class/net
2015-02-15 23:17:01 -08:00
Jihoon Chung
09aff7cb92 Filter out non-netdev entries in sysfs/class/net 2015-02-16 16:11:46 +09:00
Rohit Jnagal
48c41ba273 Merge pull request #491 from rjnagal/summary
WIP: Add utility to calculate derived stats.
2015-02-13 17:54:49 -08:00
Rohit Jnagal
009a74179d WIP: Add utility to calculate derived stats. 2015-02-13 22:11:58 +00:00
Victor Marmol
ed04bb896e cAdvisor 0.9.0 2015-02-09 15:16:55 -08:00
Victor Marmol
77283196f6 Refactoring API version handling.
This should make it easier to add future API versions and makes it a bit
simpler to look through the API.
2015-02-09 15:16:45 -08:00
Victor Marmol
48c994e5be Also print a 60s average CPU usage for self-logging. 2015-02-09 15:16:45 -08:00
Victor Marmol
09e9519e51 Re-adding .gitignore. 2015-02-09 15:16:45 -08:00
Rohit Jnagal
52d4be1f9e Disable cpu load tracking temporarily.
I'd like to understand its resource usage and improve accuracy
before we ship it in an official release.
2015-02-09 15:16:45 -08:00
Victor Marmol
58f3cd48d5 Merge pull request #494 from rjnagal/cpu
Use shared_cpu_map instead of shared_cpu_list to get cache hierarchy.
2015-02-07 09:38:22 -08:00
Rohit Jnagal
9f9f8ad983 Use shared_cpu_map instead of shared_cpu_list to get cache hierarchy. 2015-02-07 16:24:19 +00:00
Rohit Jnagal
3d0707016c Merge pull request #492 from vmarmol/nested
Detect Docker containers by asking the Docker.
2015-02-06 09:36:38 -08:00
Victor Marmol
131a0c21ea Detect Docker containers by asking the Docker.
No longer do deduction from the cgroup path (only to get the Docker
container ID).

Fixes #450.
2015-02-06 09:15:59 -08:00
Victor Marmol
f2efed3159 Merge pull request #444 from arkadijs/btrfs
Process BTRFS and whole-disk filesystem stats
2015-02-05 17:46:36 -08:00
Rohit Jnagal
238a761ffc Merge pull request #489 from vmarmol/create
Add container creation time to ContainerSpec.
2015-02-05 10:38:59 -08:00
kateknister
5e61b39334 Merge pull request #488 from kateknister/master
Minor change to the way time is parsed from the kernel log in oomparser
2015-02-05 10:31:58 -08:00
Victor Marmol
45ba276ae8 Add container creation time to ContainerSpec. 2015-02-05 09:52:10 -08:00
Katie Knister
1291347c73 small change to the way time is parsed from the kernel log in oomparser
small change to the way time is parsed from the kernel log in oomparser
2015-02-04 18:48:34 -08:00
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