Commit Graph

351 Commits

Author SHA1 Message Date
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
Nan Monnand Deng
32ae136095 mockfs 2014-07-25 19:35:13 -04:00
Victor Marmol
fb8fa5d935 Merge pull request #123 from monnand/procfs
procfs package
2014-07-25 11:07:57 -07:00
monnand
28129bc700 Merge pull request #130 from vmarmol/release
cAdvisor version 0.2.1
2014-07-25 14:07:49 -04:00
Nan Deng
03a5d0617c procfs package 2014-07-25 13:56:30 -04:00
Victor Marmol
09769510ec cAdvisor version 0.2.1 2014-07-25 10:33:27 -07:00
monnand
1be5261303 Merge pull request #128 from vmarmol/old-state
Return an empty state for old versions of Docker.
2014-07-25 13:22:16 -04:00
monnand
c1fefb7ec5 Merge pull request #129 from vmarmol/reliable-ui
Handle empty stats in the UI.
2014-07-25 13:21:22 -04:00
Victor Marmol
1921c1dd74 Handle empty stats in the UI. 2014-07-25 08:48:10 -07:00
Victor Marmol
7a3f7b9a29 Return an empty state for old versions of Docker.
Fixes #127.
2014-07-25 08:20:55 -07:00
Victor Marmol
02b06eab65 Merge pull request #124 from rjnagal/cpumask
Fix cpu limit to report cpu shares.
2014-07-24 16:55:34 -07:00
monnand
a7bb41305c Merge pull request #125 from dchen1107/master
Create cAdvisor client without querying machine information.
2014-07-24 19:53:36 -04:00
Dawn Chen
60ed60faf9 cleanup 2014-07-24 16:48:27 -07:00
Dawn Chen
80f19664e4 Create cAdvisor client without querying machine information. 2014-07-24 16:35:44 -07:00
Rohit Jnagal
befc11b899 Fix cpu limit to report cpu shares.
It is currently treating shares as millicores.

Changed 'CPU Limit 1.024 cores' to 'CPU shares 1024 shares'.

Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-07-24 23:31:53 +00:00
Victor Marmol
b92e755636 Merge pull request #122 from monnand/fix-typo
fix a typo.
2014-07-24 15:21:25 -07:00
Nan Deng
f957f85a0b fix a typo. 2014-07-24 15:10:23 -07:00
Victor Marmol
f248b10a91 Merge pull request #121 from vishh/update_readme
Updating README
2014-07-24 15:04:27 -07:00
Vishnu Kannan
cee5645694 Updated README - mentioned network stats and included /sys as a mount for cadvisor in docker. 2014-07-24 20:59:33 +00:00
monnand
ba041ddf65 Merge pull request #120 from vmarmol/release
cAdvisor version 0.2.0.
2014-07-24 16:48:24 -04:00
Victor Marmol
0ed9eb2197 cAdvisor version 0.2.0. 2014-07-24 11:36:43 -07:00
Victor Marmol
5812f10db0 Merge pull request #117 from rjnagal/cpumask
Handle cpumask in raw driver for unified hierarchy.
2014-07-24 11:36:01 -07:00
Vish Kannan
93b5e2be5b Merge pull request #118 from vmarmol/ui-fix
Request 60s of container history and no samples in the UI.
2014-07-24 11:26:26 -07:00
Rohit Jnagal
f5fde119f8 Grab a new spec.Cpu while updating masks if cpu root didn't exist.
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-07-24 18:23:04 +00:00
Victor Marmol
8000237ff7 Request 60s of container history and no samples in the UI. 2014-07-24 11:12:28 -07:00
Rohit Jnagal
b120cee75c Handle cpumask in raw driver for unified hierarchy.
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-07-24 17:53:38 +00:00
Victor Marmol
4d1291cf93 Merge pull request #116 from rjnagal/cpumask
Fix handling of cpumask for docker driver
2014-07-24 08:46:59 -07:00
Vish Kannan
ddf36ac062 Merge pull request #114 from vmarmol/fix
Don't fail ListContainers() on missing cgroup hierarchies.
2014-07-24 00:28:15 -07:00
Rohit Jnagal
07f78e1a7f Change test data generator to create string cpumasks.
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-07-24 01:56:52 +00:00
Rohit Jnagal
1fa48e8c39 Fix handling of cpumask for docker driver. Raw driver still reports all
cpus. Will fix it to read cpumask for cgroup seperately.

Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-07-24 01:50:32 +00:00
Victor Marmol
35d7b9b3ee Merge pull request #115 from monnand/default-get-info
remove TestGetContainerInfoWithDefaultValue()
2014-07-23 18:33:30 -07:00
Nan Deng
46e0ede568 remove TestGetContainerInfoWithDefaultValue() 2014-07-23 18:13:38 -07:00
Victor Marmol
ebfdf83905 Merge pull request #113 from monnand/zero-means-zero
Retrieve 0 stats/samples when user asked for zero stats/samples
2014-07-23 18:02:09 -07:00
Victor Marmol
0126cec903 Don't fail ListContainers() on missing cgroup hierarchies. 2014-07-23 17:59:57 -07:00
Nan Deng
9401d35ce2 gofmt -r "MemoryUsagePercentages->MemoryUsagePercentiles" 2014-07-23 17:58:50 -07:00
Nan Deng
2ac720aa3f remove FillDefaults() 2014-07-23 17:55:25 -07:00