What's Changed
New features
- Adds ability to specify a device/partition for an extra disk by using a folder name.
For example, I have an encrypted external SSD that never showed I/O stats when using the Docker agent:
With lsblk
we can see that the LUKS partition is associated with sda1
:
sda
└─sda1
└─luks-d76c2e14-0264-446f-af20-edb8e3e28741
We'll update the mountpoint to use sda1
as the folder name.
volumes:
- /mnt/my-extra-drive:/extra-filesystems/sda1:ro
The agent will first check if I/O stats are available for luks-d76c2e14-0264-446f-af20-edb8e3e28741
.
Because they are not, the agent will check the folder name (sda1
). I/O for sda1
is available, so it will use sda1
for this disk instead of luks-d76c2e14-0264-446f-af20-edb8e3e28741
. The read/write stats now populate as intended:
Bug fixes
- Fixes labeling of read/write in extra disk charts. (#254)
Other changes
- A recent update changed the behavior of Docker charts. Previously, a stopped container was completely removed from the chart/tooltip during the time period when it was not running. In the last few releases, the container remained in the chart with zero values if it was running at any time during the chart's duration. This update restores the previous functionality.
Full Changelog: v0.7.2...v0.7.3