Commit Graph

316 Commits

Author SHA1 Message Date
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
Nan Deng
55b65f4eb9 Retrieve 0 stats/samples when user asked for zero stats/samples 2014-07-23 17:28:41 -07:00
Vish Kannan
6213f8b0c3 Merge pull request #107 from vmarmol/full-names
Added parent prefix to all Docker container and aliases.
2014-07-23 16:05:25 -07:00
Victor Marmol
784b6c8845 Merge pull request #111 from vishh/network_stats1
Adding network tx & rx bytes to the UI.
2014-07-23 15:26:09 -07:00
Vishnu Kannan
41d9275b51 Fixed network stats handling. The UI now reports network errors. 2014-07-23 22:24:43 +00:00
Victor Marmol
3615bc64a6 Merge pull request #112 from monnand/storage-cache
in memory cache for storage
2014-07-23 15:21:17 -07:00
Nan Deng
7d9015f20b in memory cache for storage 2014-07-23 14:57:18 -07:00
Victor Marmol
239f4bad11 Added parent prefix to all Docker containers. 2014-07-23 13:23:27 -07:00
Vishnu Kannan
106787f850 Adding network bytes tx, rx and errors to the frontend. Network errors chart is not exposed in the UI yet. 2014-07-23 19:15:28 +00:00
monnand
83f2373fb1 Merge pull request #110 from vishh/network_stats1
Deleting cadvisor binary from the repo.
2014-07-23 13:36:23 -04:00
Vishnu Kannan
61b522253d Deleting cadvisor binary from the repo. 2014-07-23 17:34:12 +00:00
monnand
3474eec100 Merge pull request #109 from vmarmol/fix-slice
Fix Docker container slice in systemd systems.
2014-07-23 13:05:17 -04:00
Victor Marmol
2e9176ae64 Fix Docker container slice in systemd systems.
It should be in /system.slice/docker-*.
2014-07-23 07:46:46 -07:00
monnand
b7eba731ba Merge pull request #106 from vmarmol/fix2
cAdvisor version 0.1.4
2014-07-22 21:18:43 -04:00
monnand
99da79b0a9 Merge pull request #104 from vmarmol/fix
Remove lmctfy driver in favor of the raw driver
2014-07-22 21:18:01 -04:00
monnand
b21d2063d2 Merge pull request #108 from vmarmol/fixes
Better handle nested containers and libcontainer.
2014-07-22 21:17:26 -04:00
Victor Marmol
eef8c01e4e Better handle nested containers and libcontainer. 2014-07-22 18:04:08 -07:00
Victor Marmol
07b9ed3244 Remove lmctfy driver in favor of the raw driver 2014-07-22 14:09:42 -07:00
Victor Marmol
afa9a35176 cAdvisor version 0.1.4 2014-07-22 14:06:52 -07:00
monnand
4658d5c32a Merge pull request #100 from vmarmol/raw2
Implement GetSpec() in simple raw driver
2014-07-22 17:02:38 -04:00
monnand
3e570ce3a5 Merge pull request #103 from vmarmol/fix
Use latest image so we don't download all images
2014-07-22 17:00:36 -04:00
Victor Marmol
4b683b2498 Use latest image so we don't download all images 2014-07-22 13:55:57 -07:00
Victor Marmol
e951d03be6 Implement GeSpec() in the simple raw driver. 2014-07-22 13:51:24 -07:00
Victor Marmol
03def6fff0 Merge pull request #96 from vishh/network_stats
Bug fixes and introduces network stats.
2014-07-22 13:01:42 -07:00
Vishnu Kannan
a748b53743 Docker ListContainers will work only for the '/docker' container. 2014-07-22 19:55:14 +00:00
Vishnu Kannan
f147996e9d Ignore non '/docker' containers in the docker driver. 2014-07-22 19:55:14 +00:00
Vishnu Kannan
5dfa7b64ba Removed NotActive error message from container package.
Imporved error messages.
2014-07-22 19:55:14 +00:00
Vishnu Kannan
ef13440034 Addressed comments. Another series of bug fixes.
Modified the docker driver and lmctfy driver to skip containers they cannot handle.
2014-07-22 19:55:14 +00:00
Vish Kannan
0a9236b511 Merge pull request #101 from vmarmol/fix
Remove unused TODO.txt.
2014-07-22 12:13:15 -07:00
Vishnu Kannan
5aae36726f Fixed bugs introduced in previous patches. 2014-07-22 18:58:16 +00:00
Vishnu Kannan
7f96c90c72 Fix raw cgroups handler. 2014-07-22 18:58:16 +00:00
Vishnu Kannan
abfcd4923a Adding utils package 2014-07-22 18:58:16 +00:00
Vishnu Kannan
1edb798de5 Features:
Added Network Stats to Container Info. It still not exposed via the HTTP UI.
Bug fixes:
1. Modified docker handler to use libcontainer.GetStats instead of quering the fs package.
2. cAdvisor will not stall if any of its core operations fail.
3. cAdvisor will safely ignore any inactive or leaked docker containers. When containers are leaked cgroup state exists but docker is not aware of them.
2014-07-22 18:58:16 +00:00
Vish Kannan
bc23a92932 Merge pull request #102 from vmarmol/fix2
Skip influxdb tests for now.
2014-07-22 11:57:30 -07:00
Victor Marmol
7e380f6944 Skip influxdb tests for now. 2014-07-22 11:36:35 -07:00
Victor Marmol
6d353f6833 Remove unused TODO.txt. 2014-07-22 11:28:05 -07:00