cadvisor/metrics
Clayton Coleman 4e25a7951f
Report container FS metrics into prometheus /metrics
PerDiskStats reported from cgroups were not being surfaced into
prometheus. In order to properly correlate the metrics, we need to
assign a device label to each metric (which is the FS or device path).
Since blkio cgroup tracks devices, we create a synthetic device
`/dev/NAME` for the metric.

Assign a Device label to each PerDiskStat for the handlers up front, and
then surface the PerDiskStat values into the prometheus metrics. Report
two new metrics - total bytes read and total bytes written.
2017-04-24 20:46:55 -04:00
..
testdata Add inodes to /metrics endpoint 2016-08-27 18:39:53 -04:00
prometheus_test.go Add inodes to /metrics endpoint 2016-08-27 18:39:53 -04:00
prometheus.go Report container FS metrics into prometheus /metrics 2017-04-24 20:46:55 -04:00