Commit Graph

600 Commits

Author SHA1 Message Date
Vish Kannan
64e7ec0ed8 Merge pull request #177 from vmarmol/add-vet
Add go vet to travis.
2014-08-13 09:47:31 -07:00
Victor Marmol
0c13938d46 Add go vet to travis. 2014-08-13 09:35:37 -07:00
Victor Marmol
7e8f2037cb Merge pull request #176 from vishh/readme
Updating readme to use influxdb with the current head.
2014-08-13 11:42:18 -04:00
Vishnu Kannan
41b539d87e Updating readme to use influxdb with the current head. 2014-08-12 22:10:26 +00:00
Rohit Jnagal
78cb882ebd Merge pull request #173 from vmarmol/master
Allow cAdvisor to use as many cores as exist on the machine.
2014-08-12 11:36:57 -07:00
Victor Marmol
d8352df92c Merge pull request #174 from vishh/glog
Update Dockerfile to work with glog.
2014-08-12 13:37:03 -04:00
Victor Marmol
b27b586c39 Merge pull request #175 from vishh/influxdb
Change cadvisor influxdb series name from 'cadvisorTable' to 'stats'
2014-08-12 13:30:10 -04:00
Vishnu Kannan
58b76f1266 Remove obsolete Dockerfile.
Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
2014-08-12 06:33:03 +00:00
Vishnu Kannan
674246938a Change cadvisor influxdb series name from cadvisorTable to stats since the default db name is alreadt cadvisor.
To the end user, cadvisor.stats.cpu or cadvisor.stats.memory is easier to remember than cadvisor.cadvisorTable.cpu

Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
2014-08-12 06:28:25 +00:00
Vishnu Kannan
6e66310385 Update Dockerfile to work with glog.
Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
2014-08-12 06:24:55 +00:00
Victor Marmol
eeea467d66 Allow cAdvisor to use as many cores as exist on the machine.
We scale with the number of containers (and cores on the machine) so we
should be able to use more than just one core (the default).
2014-08-11 17:31:05 -07:00
Victor Marmol
1cac435b86 Merge pull request #172 from rjnagal/influxdb
Reduce influxdb schema to only the values we currently plan to use.
2014-08-11 13:27:57 -04:00
Victor Marmol
6339d85f7d Merge pull request #170 from rjnagal/master
Fix Cache driver to serve UI.
2014-08-11 12:06:11 -04:00
Rohit Jnagal
cb8f471155 Merge remote-tracking branch 'upstream/master'
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-09 23:05:18 +00:00
Rohit Jnagal
ca9cd37e8a Reduce influxdb schema to only the values we currently plan to use.
We'll re-add new params as they are needed and as we understand influxdb
scalability better.

Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-09 22:59:32 +00:00
Rohit Jnagal
42c0943d7e Fix Cache driver to serve UI.
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-09 19:18:53 +00:00
Vish Kannan
949a65de90 Merge pull request #169 from rjnagal/master
Improve influxdb backend - use container alias if available and store network stats.
2014-08-09 11:02:08 -07:00
Rohit Jnagal
67021958b7 Revert changes for smaller test size.
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-09 15:27:42 +00:00
Rohit Jnagal
5df24e93bd Merge branch 'vishh-influxdb'
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-09 15:14:27 +00:00
Rohit Jnagal
24a5a6aa82 Resolve test conflicts on #167.
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-09 15:13:22 +00:00
Victor Marmol
494c63c4cc Merge pull request #168 from rjnagal/master
Factor out data comparator for storage tests.
2014-08-09 02:17:28 -04:00
Rohit Jnagal
10d631be6d Factor out data comparator for storage tests.
For influxdb, we are planning to export lesser data. Having a separate
comparator will let us reuse the same tests.

Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-09 01:28:27 +00:00
Rohit Jnagal
16439c051b Merge pull request #166 from monnand/enable-storage-cache
enable storage cache for influxdb
2014-08-08 11:33:48 -07:00
Nan Deng
cd1422cfdb enable storage cache for influxdb 2014-08-08 11:26:14 -07:00
Victor Marmol
9541787622 Merge pull request #162 from vmarmol/master
Fix capitalization in log files.
2014-08-07 23:17:30 -07:00
Victor Marmol
4187dc3bcb Fix capitalization in log files. 2014-08-07 11:51:15 -07:00
Victor Marmol
0311058006 Merge pull request #161 from vishh/cleanup_logs
Use glog instead of 'log' library.
2014-08-07 11:49:23 -07:00
Vishnu Kannan
3e390e0f33 Use glog instead of 'log' library.
Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
2014-08-07 18:38:58 +00:00
Vish Kannan
6c2694a53b Merge pull request #105 from monnand/re-enable-influxdb
re-enable unit tests for influxdb
2014-08-06 16:46:21 -07:00
Victor Marmol
c07339966d Merge pull request #153 from monnand/change-unit
the unit in /proc/<pid>/schedstat should be ns
2014-08-06 11:09:02 -07:00
Nan Deng
324874411d the unit in /proc/<pid>/schedstat should be ns 2014-08-06 11:03:40 -07:00
monnand
317f0b870d Merge pull request #151 from vmarmol/readme
Updating README with v1.1 changes.
2014-08-05 14:10:22 -04:00
Victor Marmol
62764fa9bb Updating README with v1.1 changes. 2014-08-04 17:32:26 -07:00
Victor Marmol
d76a19fc83 Merge pull request #126 from monnand/readme
README
2014-08-04 17:20:06 -07:00
monnand
01969c5cdf Merge pull request #147 from vmarmol/subcontainers2
Adding v1.1 remote API.
2014-08-04 12:53:08 -04:00
monnand
d10247cae4 Merge pull request #145 from vmarmol/allow-lower
Saturate samples to 0 if they are negative.
2014-08-04 12:43:58 -04:00
monnand
6ba6807525 Merge pull request #149 from vmarmol/path
Move from filepath -> path for Join.
2014-08-04 12:24:27 -04:00
Victor Marmol
00f4f840ea Move from filepath -> path for Join. 2014-08-03 10:06:39 -07:00
Vish Kannan
7dbb6060de Merge pull request #148 from vmarmol/split-name
Remove SplitName().
2014-08-02 16:00:27 -07:00
Victor Marmol
56054e3e31 Remove SplitName().
This is possible thanks to the new libcontainer interface that allows
the use of absolute paths.
2014-08-02 11:36:10 -07:00
Victor Marmol
41e27e40ef Adding v1.1 remote API.
Main addition is the "subcontainers" resource which provides
ContainerInfo for all subcontainers (recursively and including
self) of the specified container.
2014-08-01 16:17:43 -07:00
monnand
f2c6beca30 Merge pull request #146 from vmarmol/subcontainers
Refactor API http handlers to prepare for versioning.
2014-08-01 13:49:52 -04:00
Victor Marmol
d2397e5ab7 Refactor API http handlers to prepare for versioning. 2014-08-01 10:13:58 -07:00
Victor Marmol
ae9bec8a8c Saturate samples to 0 if they are negative.
Fixes #144
2014-08-01 08:55:14 -07:00
Victor Marmol
e61f0a15dc Merge pull request #142 from monnand/scheddebug
Scheddebug Reader
2014-07-30 17:33:00 -07:00
Nan Deng
b804ceac30 read core loads from /proc/sched_debug 2014-07-30 17:30:01 -07:00
Victor Marmol
bdd574b728 Merge pull request #141 from danmcp/fix_typos
Fixing typos
2014-07-29 08:39:57 -07:00
Victor Marmol
fe23ba6d60 Merge pull request #140 from monnand/test-libcontainer
unit test for SplitName()
2014-07-29 08:32:03 -07:00
Victor Marmol
4d2cc62932 Merge pull request #139 from monnand/list-procs
list processes
2014-07-29 08:27:06 -07:00
Dan McPherson
0897eb4df3 Fixing typos 2014-07-29 10:35:01 +02:00