Commit Graph

577 Commits

Author SHA1 Message Date
Abin Shahab
a02b7f1620 Added network stats to raw handler
Raw handler now parses an optional json file with the network interface information, and emits network stats.
2014-10-14 20:01:44 +00:00
Abin Shahab
e038729d67 Updated import and comments 2014-10-14 20:01:44 +00:00
Abin Shahab
808fd821ac NetworkInterface now contains both VethHost and VethChild 2014-10-14 20:01:44 +00:00
Abin Shahab
d009264986 LXC Factory and Handler
This factory and handler can retrieve memory, cpu, diskio, and network information of lxc containers.
The handler can be passed additional container information(e.g. network interface) using a cdesc.json file
2014-10-14 20:01:44 +00:00
Victor Marmol
5e7b1bb6ef Merge pull request #269 from vmarmol/self-monitor
Adding --log_cadvisor_usage flag to log the resource usage of cAdvisor.
2014-10-15 17:21:45 +02:00
Victor Marmol
62b37eca1d Adding --log_cadvisor_usage flag to log the resource usage of cAdvisor.
This helps during performance analysis.
2014-10-15 08:18:38 -07:00
Victor Marmol
a2a3a92e4a Merge pull request #267 from vishh/disk_usage
Add filesystem usage support for docker containers.
2014-10-14 16:33:22 +02:00
Vishnu Kannan
0699e7029d Avoid storage usagge calculations when aufs driver is not being used. 2014-10-07 11:48:10 +00:00
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
Vish Kannan
22a55636f4 Merge pull request #265 from vmarmol/client
Adding Subcontainers to cAdvisor client.
2014-10-01 14:27:01 -07:00
Victor Marmol
7d011aa6ae Merge pull request #264 from vishh/disk_usage
Adding filesystem stats to db storage drivers.
2014-10-01 14:02:18 -07:00
Victor Marmol
33ccd0949e Adding Subcontainers to cAdvisor client.
Also refactoring and improvements.
2014-10-01 11:51:30 -07:00
Vishnu Kannan
8fd73e7fc0 Adding filesystem stats to db storage drivers. Moved FsStats to info package. 2014-10-01 18:49:10 +00:00
Victor Marmol
537550a778 Merge pull request #258 from vishh/disk_usage
Adding global filesystem usage information
2014-10-01 08:33:25 -07: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
Vish Kannan
6906a8ce90 Merge pull request #261 from vmarmol/release
cAdvisor 0.4.1 release.
2014-09-29 14:15:19 -07:00
Victor Marmol
671e8dd22a cAdvisor 0.4.1 release. 2014-09-29 13:53:07 -07:00
Vish Kannan
1ed9d122c1 Merge pull request #220 from vmarmol/coreos
Fix name resolution in Systemd systems
2014-09-29 11:28:23 -07:00
Victor Marmol
79398a724b Merge pull request #259 from blakelapierre/typo
Typo
2014-09-29 08:25:54 -07:00
Blake La Pierre
071298109a Typo 2014-09-29 00:46:36 -07:00
Victor Marmol
5ebd3265a5 Merge pull request #256 from satnam6502/master
Change the interface of CanHandle to return error information.
2014-09-28 11:19:05 -07:00
Satnam Singh
1268de355e Merge branch 'master' of github.com:satnam6502/cadvisor 2014-09-26 18:07:24 -07:00
Satnam Singh
7ddc75c41b Squashed commit of the following:
commit 6bf9fe89f6
Author: Satnam Singh <satnam@google.com>
Date:   Fri Sep 26 10:23:16 2014 -0700

    Change error to warning during handling check.

commit c580907183
Author: Satnam Singh <satnam@google.com>
Date:   Fri Sep 26 10:21:41 2014 -0700

    Decapatalise fmt.Errorf error messages.

commit 3ecc5745d6
Author: Satnam Singh <satnam@google.com>
Date:   Fri Sep 26 10:19:15 2014 -0700

    Fix misunderstanding about when CanHandle fails.

commit adce0c5433
Author: Satnam Singh <satnam@google.com>
Date:   Fri Sep 26 10:13:32 2014 -0700

    Change the interface of CanHandle to return error information.
2014-09-26 18:06:58 -07:00
Rohit Jnagal
683fb11c93 Merge pull request #257 from vmarmol/travis
Remove build from Travis install.
2014-09-26 14:29:51 -07:00
Victor Marmol
76234e5c67 No-op for install 2014-09-26 14:21:31 -07:00
Victor Marmol
930492b815 Remove build from Travis install.
Also remove unused deps.
2014-09-26 14:16:27 -07:00
Satnam Singh
6bf9fe89f6 Change error to warning during handling check. 2014-09-26 10:23:16 -07:00
Satnam Singh
c580907183 Decapatalise fmt.Errorf error messages. 2014-09-26 10:21:41 -07:00
Satnam Singh
3ecc5745d6 Fix misunderstanding about when CanHandle fails. 2014-09-26 10:19:15 -07:00
Satnam Singh
adce0c5433 Change the interface of CanHandle to return error information. 2014-09-26 10:13:32 -07:00
Victor Marmol
797a4986ff Merge pull request #252 from satnam6502/master
A few minor Go style suggestions.
2014-09-24 11:46:58 -07:00
Satnam Singh
bdcaa50b7f Merge branch 'master' of github.com:satnam6502/cadvisor
Conflicts:
	manager/manager.go
2014-09-24 11:09:50 -07:00
Satnam Singh
833feae28b Fix assignment error in haste. 2014-09-24 11:07:48 -07:00
Satnam Singh
1a9d2298dc And yet another if. 2014-09-24 11:07:48 -07:00
Satnam Singh
f3c92c381a More if undos. 2014-09-24 11:07:48 -07:00
Satnam Singh
1bdbb73c0e And a few more capatalization undos. 2014-09-24 11:07:48 -07:00
Satnam Singh
3f45b35768 Undo changed to Errorf in manager.go re: capatalization. 2014-09-24 10:59:18 -07:00
Satnam Singh
8551d376d8 Undo changes to if statements as requested by vmarmol. Fix typos in my changes. 2014-09-24 10:59:18 -07:00
Satnam Singh
bae82a583d A few minor Go style suggestions. 2014-09-24 10:53:52 -07:00
Victor Marmol
06e49ad1c4 Merge pull request #255 from vishh/update_deps
Updating libcontainer dependency.
2014-09-24 10:52:03 -07:00
Vishnu Kannan
607a41936f Updating libcontainer dependency. 2014-09-24 17:45:04 +00:00
Satnam Singh
4d86f8d931 Fix assignment error in haste. 2014-09-24 10:29:04 -07:00
Satnam Singh
b77bc54f5d And yet another if. 2014-09-24 10:26:53 -07:00
Satnam Singh
9ccf15fcf9 More if undos. 2014-09-24 10:22:13 -07:00
Satnam Singh
db1a8ec47a And a few more capatalization undos. 2014-09-24 10:16:05 -07:00
Satnam Singh
b4a7df6044 Undo changed to Errorf in manager.go re: capatalization. 2014-09-24 10:15:08 -07:00
Satnam Singh
cab052cc8a Undo changes to if statements as requested by vmarmol. Fix typos in my changes. 2014-09-24 10:03:56 -07:00
Victor Marmol
ebf231e4df Fix name resolution in Systemd systems 2014-09-23 20:01:35 -07:00