Commit Graph

389 Commits

Author SHA1 Message Date
Rohit Jnagal
8486755591 Merge branch 'master' of http://github.com/rjnagal/cadvisor
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-22 17:01:40 +00:00
Rohit Jnagal
ac72c056c3 Remove page faults from cadvisor UI.
Page fault data is useful for inference and performance detection, but
it doesn't make sense on the summary UI. We have limited space on the
main container page. Let's use it for main throughput signals. Removing
faults make network stats more prominent too.

Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-22 16:57:59 +00:00
Rohit Jnagal
76cb710e13 Remove page faults from cadvisor UI.
Page fault data is useful for inference and performance detection, but
it doesn't make sense on the summary UI. We have limited space on the
main container page. Let's use it for main throughput signals. Removing
faults make network stats more prominent too.

Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-22 16:53:37 +00: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
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
Nan Monnand Deng
fb5074a2f1 unit test for SplitName() 2014-07-29 01:52:59 -04:00
Nan Monnand Deng
d6551d888b list processes 2014-07-29 01:20:19 -04:00
monnand
17b0ec576b Merge pull request #132 from vmarmol/ui
Fix some UI todos.
2014-07-28 21:26:17 -04:00
Victor Marmol
f36a0fd090 Merge pull request #138 from monnand/use-init-cgroup
use init's cgroup to get nest level
2014-07-28 18:24:12 -07:00
Nan Deng
afc84e85c3 use init's cgroup to get nest level 2014-07-28 18:13:54 -07:00
Victor Marmol
9835062f4a Merge pull request #136 from rjnagal/cpumask
Fix cpu gauge to show percent of machine cpu capacity being used by a container.
2014-07-28 15:23:10 -07:00
Rohit Jnagal
9b5445e7f3 Fix cpu gauge to show percent of machine cpu capacity being used by the
container. For a container using one full core out on a 4-core machine,
the gauge will show up as 25%.

Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-07-28 22:16:49 +00:00
Victor Marmol
6e3df74f75 Merge pull request #131 from monnand/mockfs
Mock Filesystem
2014-07-27 17:14:23 -07:00
Victor Marmol
4bf5a1a0c4 Fix some UI todos. 2014-07-26 13:28:33 -07:00
Nan Monnand Deng
2e98607373 license on mockfs.go 2014-07-25 20:00:59 -04:00
Nan Monnand Deng
de867f19af use gomock 2014-07-25 19:58:54 -04:00