Commit Graph

40 Commits

Author SHA1 Message Date
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
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
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
Vishnu Kannan
41d9275b51 Fixed network stats handling. The UI now reports network errors. 2014-07-23 22:24:43 +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
Nan Deng
d7b1b9c849 Eq() for ContainerInfo 2014-07-15 13:21:15 -07:00
Nan Deng
d5279b54b2 remove some commented out code 2014-07-10 11:21:37 -07:00
Nan Deng
c7f69c2382 move function into test 2014-07-10 10:41:20 -07:00
Nan Deng
942236adde docs 2014-07-08 18:11:35 -07:00
Nan Deng
6818ac9b9f gofmt -r "ContainerInfoQuery->ContainerInfoRequest" 2014-07-08 18:04:57 -07:00
Nan Deng
d8acc13240 docs 2014-07-08 17:21:46 -07:00
Nan Deng
d8e9f8e5a9 gofmt -r "FillWithDefaultValues->FillDefaults" 2014-07-08 17:20:47 -07:00
Nan Deng
f2a0365766 gofmt -r "CpuUsagePercentages->CpuUsagePercentiles" 2014-07-08 17:20:04 -07:00
Nan Deng
115b132e5f stats time precesion affects the test results 2014-07-08 13:55:09 -07:00
Nan Deng
d932d351ef test on client library 2014-07-08 12:49:40 -07:00
Nan Deng
4d0b365d43 let users decide how many stats/samples they want to retrieve 2014-07-07 22:04:30 -07:00
Nan Deng
e2c6798c92 grammar 2014-07-02 16:31:19 -07:00
Nan Deng
2608c68fe4 deep copy of container stats 2014-07-01 15:28:58 -07:00
Nan Deng
900a3f76c8 cpu hot plugging 2014-06-24 16:01:13 -07:00
Nan Deng
22ba8212ca per-core usage in sample 2014-06-24 15:00:50 -07:00
Nan Deng
00f17b5068 rename 2014-06-16 20:30:37 -07:00
Nan Deng
6e98c92693 changing info package to work with storage drivers. 2014-06-16 18:03:01 -07:00
Victor Marmol
fbf6e85fc7 Renaming StatsSummary to StatsPercentiles 2014-06-16 17:49:37 -07:00
Nan Deng
312bcae2db gofmt -r "ContainerRef->ContainerReference" -w -l . 2014-06-12 17:32:46 -07:00
Nan Deng
5a8bceb43e passed unit test 2014-06-12 17:31:26 -07:00
Pascal Borreli
8e8b992294 Fixed typos 2014-06-13 00:46:16 +01:00
Nan Deng
8c085513f8 fix a bug demostrated in TestPercentilesSmallDataSet() 2014-06-12 15:38:52 -07:00
Nan Deng
d8901800b8 percentile 2014-06-12 14:07:12 -07:00
Nan Deng
b3ec141f90 comment for intZipuint64 2014-06-12 13:20:13 -07:00
Nan Deng
71835f9bc4 gofmt -r "ContainerStatsSummary->ContainerStatsPercentiles" 2014-06-12 11:38:37 -07:00
Nan Deng
f07a91c0cc remove avg memory usage 2014-06-12 11:36:17 -07:00
Nan Deng
5373161db3 change comments 2014-06-12 11:25:38 -07:00
Nan Deng
0d85d23a89 ignore sample if it leads cpu utilization < 0 2014-06-12 10:31:43 -07:00
Nan Deng
478ff3d45e unit test for sampling 2014-06-11 13:22:08 -07:00
Nan Deng
205a379887 usge container stats sample 2014-06-11 11:42:44 -07:00
Nan Deng
0625caffa3 create sample from a constructor 2014-06-11 11:26:55 -07:00
Nan Deng
eaa166e8c3 Use ContainerStatsSample to store samples because CPU usages are
cumilative
2014-06-11 10:37:05 -07:00
Victor Marmol
712f9fb32f Migrating cAdvisor code from lmctfy 2014-06-09 12:12:07 -07:00