Commit Graph

610 Commits

Author SHA1 Message Date
Vish Kannan
195772a1bc Merge pull request #245 from vmarmol/tests
Refactor and dependency inject containerData deps
2014-09-22 10:39:55 -07:00
Vish Kannan
bcd8c98bbc Merge pull request #242 from vmarmol/flat-spec
Flatten ContainerSpec.
2014-09-22 10:35:57 -07:00
Victor Marmol
e759059a09 Refactor and dependency inject containerData deps 2014-09-22 10:20:54 -07:00
Vish Kannan
5a6d06c026 Merge pull request #243 from vmarmol/release
cAdvisor 0.4.0 release.
2014-09-19 14:03:19 -07:00
Victor Marmol
ea583d0b0c Merge pull request #241 from vishh/dns_lookup
Avoid compiling cadvisor statically for the docker image
2014-09-19 10:28:09 -07:00
Vishnu Kannan
7ed645f004 Avoid compiling cadvisor statically for the docker image by deriving the image from a stripped down busybox image.
Log failures encountered while dumping to influxdb
Handle critical failures in cadvisor gracefully without getting stuck.
2014-09-19 17:23:45 +00:00
Victor Marmol
cc9a8f5dc9 cAdvisor 0.4.0 release. 2014-09-19 10:23:37 -07:00
Victor Marmol
e22831f1bd Flatten ContainerSpec. 2014-09-19 10:14:22 -07:00
Rohit Jnagal
7c59947ee8 Merge pull request #238 from vmarmol/inotify
Use inotify to watch for new containers.
2014-09-18 13:52:17 -07:00
Victor Marmol
100170beca Wording changes to SubcontainerEvent comments 2014-09-18 12:56:01 -07:00
Victor Marmol
c326475ede Remove unused filter ContainerHandlers. 2014-09-18 12:52:09 -07:00
Victor Marmol
b63d61ca97 Use inotify to watch for new containers.
This reduces cAdvisor CPU usage below 1% in my CoreOS system.

We also reduce global housekeeping to every 60s as a fallback in case we
miss an event.
2014-09-18 12:52:09 -07:00
Rohit Jnagal
9eab3881bb Merge pull request #239 from vmarmol/deps
Adding all dependencies to Godeps.
2014-09-18 10:36:10 -07:00
Victor Marmol
ad47c699bf Adding all dependencies to Godeps. 2014-09-17 21:31:13 -07:00
Vish Kannan
58e019028d Merge pull request #235 from vmarmol/rm
Remove remaining parts of samples and percentiles.
2014-09-17 12:53:34 -07:00
Vish Kannan
9798f4909f Merge pull request #237 from vmarmol/dyn
Make dynamic housekeeping flag configurable
2014-09-17 12:51:45 -07:00
Victor Marmol
621bb22eeb Make dynamic housekeeping flag configurable 2014-09-16 11:04:45 -07:00
Rohit Jnagal
d5e3da5dc5 Merge pull request #234 from vmarmol/obs
Remove unused file
2014-09-15 15:03:04 -07:00
Victor Marmol
1f5349821b Remove unused file. 2014-09-15 14:59:20 -07:00
Victor Marmol
9dd8621686 Remove remaining parts of samples and percentiles. 2014-09-15 14:38:51 -07:00
Rohit Jnagal
e4b28d9d78 Merge pull request #233 from vmarmol/master
Removing sampling and percentiles from interface.
2014-09-15 14:20:25 -07:00
Victor Marmol
42add2409a Removing sampling and percentiles from interface.
Also removing all implementations.
2014-09-15 14:13:07 -07:00
Victor Marmol
0003b89fcd Merge pull request #223 from vmarmol/dynamic-housekeeping
Make housekeeping interval dynamic, fist signal is resource usage.
2014-09-12 14:52:37 -07:00
Victor Marmol
f0e05218b9 Merge pull request #227 from vmarmol/ui2
Cleanup graph JS and don't show values below 0.
2014-09-12 14:52:10 -07:00
Rohit Jnagal
026cc165e1 Merge pull request #229 from vmarmol/pprof
Adding the pprof HTTP service to cAdvisor.
2014-09-12 14:36:08 -07:00
Victor Marmol
1c085a302d Adding the pprof HTTP service to cAdvisor.
This does not consume any resources unless the resources are queried.
2014-09-12 08:40:29 -07:00
Rohit Jnagal
4397c6ed32 Merge pull request #228 from vmarmol/update-libcontainer
Updating libcontainer version.
2014-09-10 18:18:20 -07:00
Victor Marmol
b22bfa32f0 Updating libcontainer version.
This includes a fix which reduces CPU usage by ~30%.
2014-09-10 18:01:45 -07:00
Victor Marmol
467b6f33db Cleanup graph JS and don't show values below 0. 2014-09-10 15:04:28 -07:00
Victor Marmol
4e028d7995 Make housekeeping interval dynamic, fist signal is resource usage.
If no resources are used by the container since the last housekeeping,
we double the housekeeping interval until --max_housekeeping_interval.
If usage was detected, we drop it back to the baseline
(--housekeeping_interval).

From my tests this reduces CPU usage in CoreOS from ~8% to ~3% with no
real loss of accuracy.

Fixes #159
2014-09-10 15:01:54 -07:00
Vish Kannan
4acd49ec83 Merge pull request #222 from vmarmol/variable-housekeeping
Prepare housekeeping interval to be dynamic.
2014-09-09 20:15:38 -07:00
Vish Kannan
708a6796cf Merge pull request #221 from vmarmol/fix
Remove memory storage driver and make empty the default.
2014-09-09 20:02:48 -07:00
Victor Marmol
fd784cbca2 Remove memory storage driver and make empty the default.
This fixes the current cAdvisor HEAD.
2014-09-09 16:57:45 -07:00
Victor Marmol
1bdef9797b Prepare housekeeping interval to be dynamic.
Change housekeeping to be from a fixed interval to a possibly varied
interval decided by nextHousekeeping().
2014-09-09 14:00:30 -07:00
Victor Marmol
5200138f3e Merge pull request #218 from monnand/write-only-storage
Write only storage: Part 1
2014-09-08 08:47:23 -07:00
Nan Monnand Deng
74abe4c152 parenthesis. 2014-09-06 15:03:12 -04:00
Nan Monnand Deng
719b9ead20 remove string rep of time 2014-09-05 18:14:02 -04:00
Nan Monnand Deng
f32457747d glog.Infof() 2014-09-05 17:42:58 -04:00
Nan Monnand Deng
f3f098f3d2 delete data from influxdb after unit test 2014-09-05 17:39:34 -04:00
Nan Monnand Deng
b9f68da4f1 remove debug code 2014-09-05 17:38:34 -04:00
Nan Monnand Deng
5bc9425c54 panic->error 2014-09-05 17:37:55 -04:00
Victor Marmol
dc292daaf2 Merge pull request #219 from vmarmol/release
Updating CHANGELOG and version for 0.3.0 release.
2014-09-05 14:01:45 -07:00
Victor Marmol
29bbe613dc Updating CHANGELOG and version for 0.3.0 release. 2014-09-05 13:57:16 -07:00
Rohit Jnagal
f2745aa588 Merge pull request #215 from vmarmol/docker-lxc
Only register the Docker driver in systems using libcontainer.
2014-09-05 13:47:15 -07:00
Victor Marmol
f9c45094ab Only register the Docker driver in systems using libcontainer. 2014-09-05 13:37:18 -07:00
monnand
e870cfa66f Merge pull request #217 from rjnagal/bigquery
Improve error reporting on bigquery row insertion failure.
2014-09-05 15:46:20 -04:00
Nan Monnand Deng
260625f421 remove Samples() Percentiles() from bigquery storage driver 2014-09-05 15:35:31 -04:00
Nan Monnand Deng
9d6235f4d0 remove Samples() Percentiles() from influxdb driver 2014-09-05 15:33:25 -04:00
Rohit Jnagal
1cdf355c25 Improve error reporting on bigquery row insertion failure.
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-09-05 19:29:44 +00:00
Nan Monnand Deng
60a1b6a900 supports backend storage in in-memory storage 2014-09-05 13:27:26 -04:00