1.7.5 Monitoring disk resources
This subsection explains how to monitor the disk resources of a Docker container.
- Organization of this subsection
(1) Overview
For Docker containers, the disk I/O resource, which includes information such as the disk transfer rate, can be monitored. The PI_HPDI and PI_HLDI records that indicate the physical server's disk resource and the PI_VLDI record that indicates the virtual machine's disk space resource are not supported.
-
PI_VPDI record
This record is used to monitor the performance data of the disk device that is used by a Docker container. It shows the disk I/O resource as viewed from the Docker container.
(2) Monitoring examples
This subsection uses an example of monitoring the Docker container's disk I/O to explain the problems that might occur in disk resources and how to solve them. The following figure shows the items monitored here and the flow of actions to take.
|
|
(a) Example of monitoring the disk I/O volume of a container
You can check the value of disk I/O volume in the Speed field of the PI_VPDI record. The figure below shows a monitoring example.
|
|
- Monitoring template report to be checked
In this example, the value of disk I/O volume for container1 has increased. You can solve this problem by identifying a Docker container with high disk I/O volume.