Commit Graph

293 Commits

Author SHA1 Message Date
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
Nan Deng
bdd2b021c3 remove support for influxdb until influxdb/influxdb#756 get fixed 2014-07-16 18:00:18 -07:00
monnand
033ae4f7bd Merge pull request #90 from vmarmol/systemd
Change ContainerHandlerFactories to decide what containers they support.
2014-07-16 20:39:49 -04:00
Victor Marmol
1636c3e759 Change ContainerHandlerFactories to decide what containers they support.
This allows a ContainerHandlerFactory to register a CanHandle() function
which is called to determine whether the factory can handle a particular
container.

This commit disables being able to run cAdvisor without lmctfy. This
should be enabled again with a "no-op" global factory which I would like
to do in a separate PR.
2014-07-16 16:48:45 -07:00
monnand
e2ff7dbb13 Merge pull request #88 from vmarmol/smaller
Make cAdvisor Docker image much smaller.
2014-07-16 14:12:54 -04:00
Victor Marmol
93754d77ee Make cAdvisor Dockerimage much smaller.
Remove old Dockerfiles for deployment and create a new one that only
includes the statically linked binaries we need. This creates an image
that is ~22MB in size.
2014-07-16 10:01:00 -07:00
Victor Marmol
dbdf92359a Merge pull request #87 from monnand/container-info-eq
Eq() method for ContainerInfo
2014-07-15 13:35:39 -07:00
Nan Deng
95889f3c99 change client's unit test to use ContainerInfo.Eq() 2014-07-15 13:24:21 -07:00
Nan Deng
d7b1b9c849 Eq() for ContainerInfo 2014-07-15 13:21:15 -07:00
monnand
b13ed41a09 Merge pull request #86 from vmarmol/master
Updating version to 0.1.3.
2014-07-15 14:19:29 -04:00
Victor Marmol
9e8fb8da6d Updating version to 0.1.3. 2014-07-14 18:36:57 -07:00