Commit Graph

303 Commits

Author SHA1 Message Date
Rohit Jnagal
b120cee75c Handle cpumask in raw driver for unified hierarchy.
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-07-24 17:53:38 +00:00
Rohit Jnagal
07f78e1a7f Change test data generator to create string cpumasks.
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-07-24 01:56:52 +00:00
Rohit Jnagal
1fa48e8c39 Fix handling of cpumask for docker driver. Raw driver still reports all
cpus. Will fix it to read cpumask for cgroup seperately.

Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-07-24 01:50:32 +00:00
Vish Kannan
6213f8b0c3 Merge pull request #107 from vmarmol/full-names
Added parent prefix to all Docker container and aliases.
2014-07-23 16:05:25 -07:00
Victor Marmol
784b6c8845 Merge pull request #111 from vishh/network_stats1
Adding network tx & rx bytes to the UI.
2014-07-23 15:26:09 -07:00
Vishnu Kannan
41d9275b51 Fixed network stats handling. The UI now reports network errors. 2014-07-23 22:24:43 +00:00
Victor Marmol
3615bc64a6 Merge pull request #112 from monnand/storage-cache
in memory cache for storage
2014-07-23 15:21:17 -07:00
Nan Deng
7d9015f20b in memory cache for storage 2014-07-23 14:57:18 -07:00
Victor Marmol
239f4bad11 Added parent prefix to all Docker containers. 2014-07-23 13:23:27 -07:00
Vishnu Kannan
106787f850 Adding network bytes tx, rx and errors to the frontend. Network errors chart is not exposed in the UI yet. 2014-07-23 19:15:28 +00:00
monnand
83f2373fb1 Merge pull request #110 from vishh/network_stats1
Deleting cadvisor binary from the repo.
2014-07-23 13:36:23 -04:00
Vishnu Kannan
61b522253d Deleting cadvisor binary from the repo. 2014-07-23 17:34:12 +00:00
monnand
3474eec100 Merge pull request #109 from vmarmol/fix-slice
Fix Docker container slice in systemd systems.
2014-07-23 13:05:17 -04:00
Victor Marmol
2e9176ae64 Fix Docker container slice in systemd systems.
It should be in /system.slice/docker-*.
2014-07-23 07:46:46 -07:00
monnand
b7eba731ba Merge pull request #106 from vmarmol/fix2
cAdvisor version 0.1.4
2014-07-22 21:18:43 -04:00
monnand
99da79b0a9 Merge pull request #104 from vmarmol/fix
Remove lmctfy driver in favor of the raw driver
2014-07-22 21:18:01 -04:00
monnand
b21d2063d2 Merge pull request #108 from vmarmol/fixes
Better handle nested containers and libcontainer.
2014-07-22 21:17:26 -04:00
Victor Marmol
eef8c01e4e Better handle nested containers and libcontainer. 2014-07-22 18:04:08 -07:00
Victor Marmol
07b9ed3244 Remove lmctfy driver in favor of the raw driver 2014-07-22 14:09:42 -07:00
Victor Marmol
afa9a35176 cAdvisor version 0.1.4 2014-07-22 14:06:52 -07:00
monnand
4658d5c32a Merge pull request #100 from vmarmol/raw2
Implement GetSpec() in simple raw driver
2014-07-22 17:02:38 -04:00
monnand
3e570ce3a5 Merge pull request #103 from vmarmol/fix
Use latest image so we don't download all images
2014-07-22 17:00:36 -04:00
Victor Marmol
4b683b2498 Use latest image so we don't download all images 2014-07-22 13:55:57 -07:00
Victor Marmol
e951d03be6 Implement GeSpec() in the simple raw driver. 2014-07-22 13:51:24 -07:00
Victor Marmol
03def6fff0 Merge pull request #96 from vishh/network_stats
Bug fixes and introduces network stats.
2014-07-22 13:01:42 -07:00
Vishnu Kannan
a748b53743 Docker ListContainers will work only for the '/docker' container. 2014-07-22 19:55:14 +00:00
Vishnu Kannan
f147996e9d Ignore non '/docker' containers in the docker driver. 2014-07-22 19:55:14 +00:00
Vishnu Kannan
5dfa7b64ba Removed NotActive error message from container package.
Imporved error messages.
2014-07-22 19:55:14 +00:00
Vishnu Kannan
ef13440034 Addressed comments. Another series of bug fixes.
Modified the docker driver and lmctfy driver to skip containers they cannot handle.
2014-07-22 19:55:14 +00:00
Vish Kannan
0a9236b511 Merge pull request #101 from vmarmol/fix
Remove unused TODO.txt.
2014-07-22 12:13:15 -07:00
Vishnu Kannan
5aae36726f Fixed bugs introduced in previous patches. 2014-07-22 18:58:16 +00:00
Vishnu Kannan
7f96c90c72 Fix raw cgroups handler. 2014-07-22 18:58:16 +00:00
Vishnu Kannan
abfcd4923a Adding utils package 2014-07-22 18:58:16 +00:00
Vishnu Kannan
1edb798de5 Features:
Added Network Stats to Container Info. It still not exposed via the HTTP UI.
Bug fixes:
1. Modified docker handler to use libcontainer.GetStats instead of quering the fs package.
2. cAdvisor will not stall if any of its core operations fail.
3. cAdvisor will safely ignore any inactive or leaked docker containers. When containers are leaked cgroup state exists but docker is not aware of them.
2014-07-22 18:58:16 +00:00
Vish Kannan
bc23a92932 Merge pull request #102 from vmarmol/fix2
Skip influxdb tests for now.
2014-07-22 11:57:30 -07:00
Victor Marmol
7e380f6944 Skip influxdb tests for now. 2014-07-22 11:36:35 -07:00
Victor Marmol
6d353f6833 Remove unused TODO.txt. 2014-07-22 11:28:05 -07:00
Victor Marmol
2c12f76e4a Merge pull request #99 from vmarmol/raw
Enable the simple raw driver.
2014-07-22 08:50:01 -07:00
Victor Marmol
a187d74e5b Enable the simple raw driver.
It doesn't yet get the spec, but it is functional enough to use.
This removed the registration of lmctfy, the code will be removed in a
future PR once raw GetSpec() is complete.
2014-07-21 19:02:07 -07:00
monnand
8c890bf447 Merge pull request #98 from vmarmol/fixes
Remove cpuset cgroup for listing on raw driver.
2014-07-21 21:30:55 -04:00
Victor Marmol
3854ea6970 Remove cpuset cgroup for listing on raw driver.
Also a couple of fixes/simplifications.
2014-07-21 18:00:55 -07:00
Victor Marmol
aa7154c5e2 Merge pull request #97 from monnand/influxdb-pkgname
influxdb changed their API, again.
2014-07-21 08:18:11 -07:00
Nan Monnand Deng
a38d60ac54 influxdb changed their API, again. 2014-07-19 01:36:47 -04:00
Victor Marmol
03b36ea461 Merge pull request #95 from monnand/influxdb-enable
re-enable influxdb
2014-07-17 14:54:16 -07:00
Nan Deng
2d3f8d9f0f re-enable influxdb 2014-07-17 14:36:19 -07:00
Victor Marmol
2700b4bcb0 Merge pull request #94 from vmarmol/systemd2
Implement ListContainers and no-op GetSpec().
2014-07-17 14:31:48 -07:00
Victor Marmol
4c52e2ea1c Implement ListContainers and no-op GetSpec(). 2014-07-17 14:22:37 -07:00
monnand
d1dc27bf43 Merge pull request #93 from vmarmol/systemd
Initial version of the raw container driver.
2014-07-17 14:30:46 -04:00
Victor Marmol
a8863e6367 Initial version of the raw container driver. 2014-07-17 10:45:59 -07:00
Victor Marmol
b1d9996cca Merge pull request #91 from monnand/rm-influxdb
Remove support for influxdb until influxdb/influxdb#756 get fixed
2014-07-16 18:06:58 -07:00