Vishnu Kannan
607a41936f
Updating libcontainer dependency.
2014-09-24 17:45:04 +00:00
Vish Kannan
9f3c99fe4a
Merge pull request #253 from vmarmol/shutdown
...
Also handle SIGTERM.
2014-09-23 14:55:04 -07:00
Victor Marmol
6393bfbd40
Also handle SIGTERM.
2014-09-23 14:49:36 -07:00
Rohit Jnagal
932d2a6959
Merge pull request #251 from vmarmol/shutdown
...
Supporting graceful signal shutdown.
2014-09-23 14:28:39 -07:00
Victor Marmol
6f35cf8e6c
Supporting graceful signal shutdown.
...
Adding a signal handler and gracefully shutting down all threads.
2014-09-23 14:13:58 -07:00
Victor Marmol
be6a7ab917
Merge pull request #250 from plietar/master
...
Bump go-dockerclient.
2014-09-23 14:07:55 -07:00
Paul Liétar
3956f6ce4d
Bump go-dockerclient.
2014-09-23 16:32:13 +02:00
Victor Marmol
1cbf0bc910
Merge pull request #248 from satnam6502/master
...
Some Go style suggestions for client.go and client_test.go
2014-09-22 17:50:10 -07:00
Victor Marmol
e929ffd846
Merge pull request #247 from rjnagal/diskio
...
Add diskio stats to cAdvisor.
2014-09-22 17:40:31 -07:00
Satnam Singh
fde48d5124
Fix yet another typo in the comment for TestGetMachineInfo.
2014-09-22 16:39:28 -07:00
Satnam Singh
6259778f75
Fix typo for comment on TestGetMachineInfo.
2014-09-22 16:32:44 -07:00
Satnam Singh
6daa23d9a3
Some Go style suggestions for client.go and client_test.go
2014-09-22 16:25:06 -07:00
Rohit Jnagal
6aee4c03b0
Flatten diskio stats and use struct key.
...
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-09-22 23:24:34 +00:00
Rohit Jnagal
9a76da9993
Add diskio stats to cAdvisor.
...
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-09-22 22:48:59 +00:00
Vish Kannan
7663955763
Merge pull request #246 from satnam6502/master
...
Fix a minor typo in the README.md file.
2014-09-22 15:28:48 -07:00
Satnam Singh
87768a047c
Minor Go-style suggeston: move decode and error assignment into if clause check.
2014-09-22 15:21:06 -07:00
Satnam Singh
eb54622568
Fix a minor typo in the README.md file.
2014-09-22 14:41:54 -07:00
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