Vishnu Kannan
5e8fecea6a
Adding filesystem usage calculation for docker containers. This patch also includes some internal refactoring.
...
'machine' api now exports a list of all existing 'ext*' filesystems along with the capacity.
2014-10-06 09:51:32 +00:00
Vishnu Kannan
8fd73e7fc0
Adding filesystem stats to db storage drivers. Moved FsStats to info package.
2014-10-01 18:49:10 +00:00
Vishnu Kannan
c21ff1f166
Adding a disk usage progress bar.
2014-10-01 00:28:01 +00:00
Vishnu Kannan
b9e70f0240
Filesystem stats are now per container. As of now, fs stats are reported only for the
...
root cgroup.
To make cadvisor detect all the disks, the rootfs of host needs to mounted
inside cadvisor.
2014-09-30 23:48:34 +00:00
Vishnu Kannan
946b18f789
Adding filesystem usage information to MachineInfo.
2014-09-29 23:24:06 +00:00
Victor Marmol
671e8dd22a
cAdvisor 0.4.1 release.
2014-09-29 13:53:07 -07:00
Blake La Pierre
071298109a
Typo
2014-09-29 00:46:36 -07:00
Victor Marmol
e929ffd846
Merge pull request #247 from rjnagal/diskio
...
Add diskio stats to cAdvisor.
2014-09-22 17:40:31 -07:00
Rohit Jnagal
6aee4c03b0
Flatten diskio stats and use struct key.
...
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-09-22 23:24:34 +00:00
Rohit Jnagal
9a76da9993
Add diskio stats to cAdvisor.
...
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-09-22 22:48:59 +00:00
Vish Kannan
bcd8c98bbc
Merge pull request #242 from vmarmol/flat-spec
...
Flatten ContainerSpec.
2014-09-22 10:35:57 -07:00
Victor Marmol
cc9a8f5dc9
cAdvisor 0.4.0 release.
2014-09-19 10:23:37 -07:00
Victor Marmol
e22831f1bd
Flatten ContainerSpec.
2014-09-19 10:14:22 -07:00
Victor Marmol
9dd8621686
Remove remaining parts of samples and percentiles.
2014-09-15 14:38:51 -07:00
Rohit Jnagal
e4b28d9d78
Merge pull request #233 from vmarmol/master
...
Removing sampling and percentiles from interface.
2014-09-15 14:20:25 -07:00
Victor Marmol
42add2409a
Removing sampling and percentiles from interface.
...
Also removing all implementations.
2014-09-15 14:13:07 -07:00
Victor Marmol
4e028d7995
Make housekeeping interval dynamic, fist signal is resource usage.
...
If no resources are used by the container since the last housekeeping,
we double the housekeeping interval until --max_housekeeping_interval.
If usage was detected, we drop it back to the baseline
(--housekeeping_interval).
From my tests this reduces CPU usage in CoreOS from ~8% to ~3% with no
real loss of accuracy.
Fixes #159
2014-09-10 15:01:54 -07:00
Victor Marmol
29bbe613dc
Updating CHANGELOG and version for 0.3.0 release.
2014-09-05 13:57:16 -07:00
Vishnu Kannan
a9f54a4ed7
Updating the release notes to release cAdvisor 0.2.2.
2014-08-13 18:38:09 +00:00
Victor Marmol
ae9bec8a8c
Saturate samples to 0 if they are negative.
...
Fixes #144
2014-08-01 08:55:14 -07:00
Victor Marmol
09769510ec
cAdvisor version 0.2.1
2014-07-25 10:33:27 -07:00
Victor Marmol
0ed9eb2197
cAdvisor version 0.2.0.
2014-07-24 11:36:43 -07: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
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
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
Victor Marmol
afa9a35176
cAdvisor version 0.1.4
2014-07-22 14:06:52 -07: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
Victor Marmol
9e8fb8da6d
Updating version to 0.1.3.
2014-07-14 18:36:57 -07:00
Victor Marmol
069cff84e2
Merge pull request #79 from monnand/query-parameter
...
User specified parameters for container info.
2014-07-10 12:36:33 -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
Victor Marmol
5967ce8fcc
Updating cAdvisor to version 0.1.2.
2014-07-08 17:17:17 -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
Victor Marmol
46a9792ca8
Merge pull request #76 from monnand/unit-test-manager
...
Unit test manager
2014-07-07 16:56:39 -07:00
Nan Deng
7df7989849
test get info
2014-07-03 22:25:03 -07:00
Nan Deng
6f6c72f681
randomly generate stats for test
2014-07-03 23:54:39 +00:00
Nan Deng
e2c6798c92
grammar
2014-07-02 16:31:19 -07:00
Nan Deng
fceb2707dd
percentiles
2014-07-02 16:06:27 -07:00