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. |
||
---|---|---|
.. | ||
test_resources | ||
container_hints_test.go | ||
container_hints.go | ||
fsHandler.go | ||
helpers.go | ||
inotify_watcher.go |