Rohit Jnagal
ed38123221
Add instant stat to derived result.
...
Before this change, we do not return anything meaningful till cadvisor has been up
for a minute. Also, having instant usage in the same stat gives a more complete
picture.
2015-02-24 07:31:09 +00:00
Rohit Jnagal
28984d7811
Add spec to v2.0 API.
2015-02-19 17:59:41 +00:00
Rohit Jnagal
7201af3ca5
Expose a minimal 2.0 API with the first summary endpoint.
...
Right now, we just do raw container name. More types to follow.
We'll re-do the older endpoint in 2.0 before we publish it.
2015-02-19 05:27:44 +00:00
Rohit Jnagal
fa3ca8ebd5
Merge pull request #518 from vmarmol/no-memory
...
Add ShellActions to integration test Framework.
2015-02-18 21:17:34 -08:00
Rohit Jnagal
7e57ebb1a2
Merge pull request #517 from vmarmol/clean
...
Make explicit the use of InMemoryStorage in Manager.
2015-02-18 21:15:58 -08:00
Victor Marmol
56a1517dc9
Add ShellActions to integration test Framework.
...
Also rename Host() to Hostname().
2015-02-18 15:51:22 -08:00
Victor Marmol
99a48d8310
Make explicit the use of InMemoryStorage in Manager.
...
The current structure is a remnant of when the in memory storage was one
of the options for backing store. Today, we always have the memory
storage with an optional "backend storage" plugin. This commit makes the
InMemoryStorage use explicit.
2015-02-18 14:09:59 -08:00
Rohit Jnagal
f69e804d58
Merge pull request #516 from vmarmol/statsbuf
...
Add InTimeRange() to StatsBuffer.
2015-02-18 12:55:26 -08:00
Victor Marmol
3b6ac51f6f
Add InTimeRange() to StatsBuffer.
...
This will allow us to accept queries over a narrower window of time.
2015-02-18 12:42:10 -08:00
Victor Marmol
b391ee49a9
Merge pull request #490 from kateknister/eventsBranch
...
Basic event handler to monitor events as they occur and grab events that have already happened
2015-02-18 12:18:18 -08:00
Katie Knister
97a6836f89
Created an events handler library
2015-02-18 11:40:15 -08:00
Victor Marmol
4d252057ee
Merge pull request #514 from rjnagal/docker
...
Map request for 'api/v1.2/docker/' to 'api/v1.2/docker'
2015-02-18 00:20:55 -08:00
Rohit Jnagal
e06e65f987
Map request for 'api/v1.2/docker/' to 'api/v1.2/docker'
...
Presently, we just fail this request:
$ curl 0:8080/api/v1.2/docker/
failed to get Docker container "" with error: unable to find Docker container ""
2015-02-18 07:25:42 +00:00
Rohit Jnagal
8d2e44b76f
Merge pull request #512 from vmarmol/multiple
...
Use pkill instead of killall.
2015-02-17 11:17:09 -08:00
Victor Marmol
19126f7f8a
Use pkill instead of killall.
...
pkill is available on more systems.
2015-02-17 11:01:36 -08:00
Rohit Jnagal
77c97eb5e8
Merge pull request #510 from vmarmol/multiple
...
Allow the runner to run tests on multiple instances.
2015-02-17 10:07:51 -08:00
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