Commit Graph

625 Commits

Author SHA1 Message Date
Vish Kannan
2020019e33 Merge pull request #231 from vmarmol/circular-buffer
Add a StatsBuffer circular buffer for ContainerStats.
2014-11-10 09:52:55 -08:00
Vish Kannan
d072778d01 Merge pull request #298 from vmarmol/readme
Reorganizing cAdvisor docs and moving many of them to their own pages.
2014-11-07 16:36:13 -08:00
Victor Marmol
1118597ade Reorganizing cAdvisor docs and moving many of them to their own pages. 2014-11-07 16:34:45 -08:00
Victor Marmol
023520da9b Add a StatsBuffer circular buffer for ContainerStats. 2014-11-07 15:21:40 -08:00
Vish Kannan
c356d3b7c1 Merge pull request #295 from vmarmol/readme
Add more detailed build docs.
2014-11-06 15:44:47 -08:00
Victor Marmol
45be8162c7 Add more detailed build docs. 2014-11-06 15:37:26 -08:00
Vish Kannan
26921c3643 Merge pull request #277 from vmarmol/flat
Flatten ContainerStats struct
2014-11-05 11:26:10 -08:00
Victor Marmol
b6d719ac0c Merge pull request #292 from vmarmol/readme
Add more detailed running instructions.
2014-11-03 17:43:23 -08:00
Victor Marmol
c53641c29f Add more detailed running instructions.
Fixes #290
2014-11-03 17:23:14 -08:00
Rohit Jnagal
84da7270da Merge pull request #289 from vmarmol/docker
Fix logic for deciding if Docker container was not found.
2014-10-29 13:41:45 -07:00
Victor Marmol
cb80366c6d Fix logic for deciding if Docker container was not found.
This is currently broken for all searches of Docker containers.
2014-10-29 13:32:14 -07:00
Rohit Jnagal
67e3a367b6 Merge pull request #288 from vmarmol/limits
Only overwrite the Name and Parent in the libcontainer Cgroup.
2014-10-29 11:58:43 -07:00
Victor Marmol
e695c3820e Only overwrite the Name and Parent in the libcontainer Cgroup.
Fixes #287
2014-10-29 11:41:23 -07:00
Rohit Jnagal
02aaf8276e Merge pull request #285 from vmarmol/master
Update libcontainer for new net stats patch that uses less CPU.
2014-10-29 10:17:00 -07:00
Victor Marmol
5cdc6c3304 Update libcontainer for new net stats patch that uses less CPU. 2014-10-28 10:58:54 -07:00
Vish Kannan
812e1f4944 Merge pull request #284 from vmarmol/release
cAdvisor version 0.5.0
2014-10-28 09:21:07 -08:00
Victor Marmol
8c4f650e62 cAdvisor version 0.5.0 2014-10-28 10:19:41 -07:00
Vish Kannan
a0c97f660a Merge pull request #282 from vmarmol/content-type
Output correct content-type with API responses.
2014-10-28 09:30:16 -07:00
Victor Marmol
edb452603c Merge pull request #283 from ashahab-altiscale/more-blkio-stats
Additional blkio stats
2014-10-28 09:24:18 -07: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
Victor Marmol
9961e0f4d6 Output correct content-type with API responses.
Fixes #281
2014-10-27 08:33:22 -07:00
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
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
add5147769 Flatten ContainerStats struct 2014-10-20 11:17:20 -07: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