Commit Graph

17 Commits

Author SHA1 Message Date
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
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
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
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
Nan Monnand Deng
bfab17c299 use lmctfy when it is allowed 2014-07-11 18:30:31 -04:00
Victor Marmol
069cff84e2 Merge pull request #79 from monnand/query-parameter
User specified parameters for container info.
2014-07-10 12:36:33 -07:00
Nan Deng
d5037d162e flags 2014-07-09 11:55:12 -07:00
Nan Deng
135ddd8f01 s/db/storage_driver/ 2014-07-08 18:15:36 -07:00
Nan Deng
d18ca6fddd storage constructor 2014-07-08 18:02:37 -07:00
Nan Deng
e384a1044e influxdb: Add flags for databases 2014-07-08 16:18:37 -07:00
Nan Deng
4d0b365d43 let users decide how many stats/samples they want to retrieve 2014-07-07 22:04:30 -07:00
Victor Marmol
bb26ed8e8a Adding allow_lmctfy flag to enable running without lmctfy. 2014-06-20 15:29:38 -07:00
Nan Deng
3718b139b3 remove StatsPercentiles in container handler 2014-06-17 12:55:51 -07:00
Nan Deng
a8401c422e stats writers 2014-06-16 14:49:59 -07:00
Victor Marmol
e8ab941730 Add version information for cAdvisor 2014-06-14 15:59:18 -07:00
Nan Monnand Deng
fa0f3efab7 fix the memory leak problem mentioned in #26 2014-06-13 14:02:26 -04:00
Victor Marmol
712f9fb32f Migrating cAdvisor code from lmctfy 2014-06-09 12:12:07 -07:00