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
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
monnand
71d4d9c609
Merge pull request #85 from vmarmol/master
...
Handle systemd when it is present.
2014-07-14 19:03:37 -04:00
Victor Marmol
c4c604c278
Handle systemd when it is present.
2014-07-14 10:00:21 -07:00
Victor Marmol
8cd875cc42
Merge pull request #84 from monnand/use-lmctfy
...
use lmctfy when it is allowed
2014-07-11 15:40:19 -07:00
Nan Monnand Deng
bfab17c299
use lmctfy when it is allowed
2014-07-11 18:30:31 -04:00
Victor Marmol
814af08f24
Merge pull request #83 from monnand/neg-val
...
Fix a bug when using influxdb: GUI shows negative CPU usage
2014-07-11 15:18:34 -07:00
Nan Monnand Deng
8c4a1ef81d
Requires storage driver to return stats in time increasing order. Change influxdb driver to return stats in correct order.
2014-07-11 22:09:12 +00:00