Commit Graph

604 Commits

Author SHA1 Message Date
Abin Shahab
e6406ef6d0 Additional blkio stats
This adds blkio.io_wait_time, blkio.io_service_time, blkio.io_merged, and blkio.time to the api
2014-10-21 22:41:33 +00:00
Victor Marmol
3a6faf5653 Merge pull request #279 from ashahab-altiscale/additional-disk-stats
Added /proc/diskstats
2014-10-28 08:58:22 -07:00
Rohit Jnagal
b1796da270 Merge pull request #278 from vmarmol/docker-api
Add API version v1.2 with /docker endpoint.
2014-10-21 09:58:32 -07:00
Victor Marmol
559eb716c7 Add v1.2 documentation to the README. 2014-10-21 08:30:28 -07:00
Victor Marmol
bc3b01665f Merge pull request #274 from ashahab-altiscale/raw-disk-space
Mounted partitions space usage metrics per container
2014-10-21 08:27:13 -07:00
Victor Marmol
8aa05b0c39 Add API version v1.2 with /docker endpoint.
The /docker endpoint lists all Docker containers under one unified
namespace.
2014-10-20 22:24:01 -07:00
Abin Shahab
7133ab0f7d gofmt all files 2014-10-21 05:23:23 +00:00
Abin Shahab
48129c03d1 code review fixes 2014-10-21 05:19:24 +00:00
Victor Marmol
4fe080fb49 Merge pull request #276 from kevin1024/document-client
Document client
2014-10-20 11:48:50 -07:00
Kevin McCarthy
803a288a62 Made changes to client docs as recommended by @vmarmol 2014-10-20 08:42:03 -10:00
Kevin McCarthy
52b2f837af Document client 2014-10-20 08:39:39 -10:00
Victor Marmol
42e9e50b03 Merge pull request #275 from kevin1024/client-package
Put client inside its own package
2014-10-20 08:28:36 -07:00
Kevin McCarthy
83a4472d4e Put client inside its own package
This will let me do things like import "github.com/google/cadvisor/client"
without needing to include all of cadvisor in my project
2014-10-20 02:05:52 +00:00
Abin Shahab
e8ea485a0d Gofmt all files 2014-10-19 23:39:04 +00:00
Abin Shahab
e9d6289964 Added /proc/diskstats
Read disk io information from /proc/diskstats.
This will allow the user who provides partition container hints to get partition-specific io (blkio provides io for the container, but at the disk device level).
2014-10-19 23:36:08 +00:00
Abin Shahab
6b267575ad Renamed mount and removed dead code 2014-10-17 16:26:33 +00:00
Vish Kannan
08d0aa41d6 Merge pull request #270 from ashahab-altiscale/raw-network-handler
Raw cgroup handler network support using external hints file
2014-10-17 09:00:38 +02:00
Abin Shahab
751de4a0c9 code review fixes 2014-10-16 02:55:39 +00:00
Victor Marmol
91d1c620ef Merge pull request #272 from highlyunavailable/master
Correct custom cAdvisor instructions
2014-10-15 21:40:55 +02:00
highlyunavailable
f78a96fe7d Correct custom cAdvisor instructions
Point the user that wants to build a custom cAdvisor container to the actual location of the build script/Dockerfile.
2014-10-15 12:25:36 -07:00
Abin Shahab
b8ed0bd0e3 Mounted partitions space usage metrics per container
This computes the space usage for mounted partitions. It takes in a list of mounted partitions from containerHints
and computes the device's disk usage(so each mount must be a separate partition). This is useful for users who
mount partitions on containers and store most of the container's persistent data on those partitions.
2014-10-15 19:01:38 +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
Abin Shahab
c4d663c6ab minor fixes and gofmt 2014-10-15 11:10:54 +00:00
Abin Shahab
f170df0a76 Spec consistency 2014-10-15 07:58:58 +00:00
Abin Shahab
9264114895 some more renames 2014-10-14 23:19:46 +00:00
Abin Shahab
4c740cbc54 matches with the full path of the container 2014-10-14 20:01:44 +00:00
Abin Shahab
99d2c31f4d Renamed container description types 2014-10-14 20:01:44 +00:00
Abin Shahab
07fbd1ddab Fixed formatting 2014-10-14 20:01:44 +00:00
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
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