Commit Graph

18 Commits

Author SHA1 Message Date
David Ashpole
9e47be7bdf Cadvisor allows the RootPath to be configured. The RootPath is used to determine which filesystem is the RootFs. 2016-10-19 10:39:35 -07:00
David Ashpole
835fd2e619 removed flaky test 2016-10-14 10:38:37 -07:00
David Ashpole
9fdeefe3e4 Cadvisor now publishes per-container inode stats using the command 'find . -xdev printf '.'| wc -c' this is published in the v2 api using a new field 2016-10-12 13:16:21 -07:00
Andy Goldstein
a8c592e601 Exclude Docker devicemapper mounts from fs info
Exclude Docker devicemapper mounts from the list of filesystem partitions (e.g.
/var/lib/docker/devicemapper/mnt/*) because these are handled by the ThinPoolWatcher for
per-container filesystem information.
2016-07-07 14:35:22 -04:00
Paul Morie
647224c95a Add devicemapper support for docker containers 2016-05-18 15:19:20 -04:00
Tim St. Clair
d9c864324b Fix usage of the latest go-dockerclient 2016-04-04 18:01:47 -07:00
Aaron Levy
b1e4bc7d11 fs: evaluate labels from all mount points 2016-03-06 17:41:51 -08:00
Vishnu kannan
110540b4fe Timeout du after a minute.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-16 12:43:50 -08:00
Andy Goldstein
d0b1c5e877 Refactor devicemapper logic
Refactor devicemapper logic to be cleaner are more unit testable
2016-01-22 14:53:47 -05:00
Andy Goldstein
1352d75d6d Fixes for devicemapper partition reporting
- If the Docker storage driver is devicemapper, and the devicemapper device is *not* loopback, fix
  an issue where the device associated with the / mount point was being assigned LabelDockerImages,
  instead of the devicemapper device
- If the devicemapper device is a loopback device, don't assign it LabelDockerImages; instead,
  report the underlying partition's information
2016-01-21 16:51:14 -05:00
Jimmi Dyson
0c55544a4d Add DM fs parsing tests 2015-11-25 14:22:47 +00:00
Vishnu kannan
53e7986bc0 Reduce cpu priority for du. 2015-10-08 11:23:45 -07:00
Arkadi Shishlov
02fc9da272 Process BTRFS, whole-disk, device-mapper filesystem stats 2015-01-16 23:05:19 +02:00
Rohit Jnagal
55fceed402 Add some more missing copyrights and script to verify copyright.
Add to travis next.
2015-01-09 19:31:25 +00:00
Rohit Jnagal
aee5c36313 Fix vet errors 2015-01-01 22:41:55 +00:00
Abin Shahab
48129c03d1 code review fixes 2014-10-21 05:19:24 +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