synologydsm-api icon indicating copy to clipboard operation
synologydsm-api copied to clipboard

add disk utilization, read, and write metrics

Open mjmeli opened this issue 2 years ago • 0 comments

This PR adds functions to pull the disk-related metrics from the utilization API data. This includes the total utilization as a percentage, plus the total read and write bytes. The end goal is to expose this data for Home Assistant's Synology integration.

I've also added these metrics to the README utilization example and added a unit test.

mjmeli avatar Aug 22 '22 19:08 mjmeli