Commit Graph

481 Commits

Author SHA1 Message Date
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
Rohit Jnagal
9c99d76e77 Merge pull request #214 from vmarmol/ui
Don't try to draw graphs we don't have data for.
2014-09-05 09:37:00 -07:00
Victor Marmol
0c6fb6cb87 Don't try to draw graphs we don't have data for.
This was specifically a problem with network. We were throwing JS
errors.
2014-09-04 18:52:07 -07:00
Victor Marmol
6ed452f328 Merge pull request #192 from caglar10ur/master
Make (memory) limits human readable
2014-09-04 08:41:13 -07:00
Vish Kannan
c666bde6b2 Merge pull request #211 from vmarmol/ui
Don't assume 1s between samples in the UI.
2014-09-03 22:33:52 -07:00
Vish Kannan
ca0f449038 Merge pull request #212 from vmarmol/no-extra
Add string format for port being logged.
2014-09-03 22:31:56 -07:00
Vish Kannan
97b583f0cf Merge pull request #213 from vmarmol/faster-start
Move the initial housekeeping tick to the housekeeping thread.
2014-09-03 22:31:29 -07:00
Victor Marmol
c692e9388d Move the initial housekeeping tick to the housekeeping thread.
This significantly reduces startup time.
2014-09-03 21:45:57 -07:00
Victor Marmol
b80a7481b9 Add string format for port being logged. 2014-09-03 21:38:42 -07:00
Victor Marmol
9f0fb0432c Merge pull request #210 from vmarmol/master
Updating libcontainer to latest.
2014-09-03 21:36:50 -07:00
Victor Marmol
613b59f8ce Don't assume 1s between samples in the UI.
Fixes #155
2014-09-03 19:01:51 -07:00
Victor Marmol
8e295e264c Updating libcontainer to latest. 2014-09-03 16:21:13 -07:00
Rohit Jnagal
6d7caec50d Merge pull request #208 from vmarmol/configurable-housekeeping
Make the duration of housekeeping flag configurable.
2014-09-03 16:19:32 -07:00
Victor Marmol
992f83fb03 Merge pull request #207 from vishh/heapster_readme
Add Heapster to README.
2014-09-02 08:23:24 -07:00
Victor Marmol
8dae6c43c0 Merge pull request #205 from vmarmol/healthz
Add a /healthz endpoint to cAdvisor.
2014-09-02 08:21:42 -07:00
Vishnu Kannan
265e86cd06 Add Heapster to README. 2014-09-01 20:30:04 +00:00
Victor Marmol
3d10fc747c Make the duration of housekeeping flag configurable. 2014-08-30 19:57:53 -07:00
Victor Marmol
cf725b2173 Add a /healthz endpoint to cAdvisor.
Fixes #181
2014-08-30 00:52:25 -07:00
Vish Kannan
b801b06c86 Merge pull request #204 from vmarmol/docker-root
Adding --docker_root to customize where Docker stores state.
2014-08-29 15:21:01 -07:00
Victor Marmol
b75dea4021 Adding --docekr_root to customize where Docker stores state.
Fixes #199
2014-08-29 14:54:40 -07:00
monnand
4706361784 Merge pull request #201 from vishh/influxdb_batch_issue
Set 'time' column in InfluxDB driver
2014-08-28 19:15:39 -04:00
Vishnu Kannan
9bf831aeb2 Set 'time' column in InfluxDB driver to preserve precision of stats even while batching writes to the DB. 2014-08-28 22:50:46 +00:00
Vish Kannan
221ef43c7c Merge pull request #197 from rjnagal/bigquery
Update bigquery README.md for readability and typo fixes
2014-08-27 16:09:57 -07:00
Rohit Jnagal
55485204a7 Update README.md for readability and typo fixes
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-27 15:47:40 -07:00
Rohit Jnagal
25778bdbbf Merge pull request #196 from vishh/influxdb_batch_issue
Fix bug in influxdb storage driver initialization.
2014-08-27 15:44:21 -07:00
Vishnu Kannan
1fea109997 Fix bug in influxdb storage driver initialization. 2014-08-27 22:18:27 +00:00
Victor Marmol
75953be19b Merge pull request #190 from rjnagal/bigquery
Initial version of bigquery backend.
2014-08-26 16:02:52 -03:00
S.Çağlar Onur
27cf0c9963 split size and unit
Signed-off-by: S.Çağlar Onur <caglar@10ur.org>
2014-08-25 21:42:49 -04:00
Victor Marmol
22a1c44186 Merge pull request #195 from rjnagal/master
Add hot memory usage to memory graph.
2014-08-25 22:04:13 -03:00
Rohit Jnagal
1ec1968960 Merge remote-tracking branch 'upstream/master' into bigquery
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-26 00:38:58 +00:00