Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add disk utilization, read, and write metrics #238

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mjmeli
Copy link

@mjmeli mjmeli commented Aug 22, 2022

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 mjmeli requested a review from Quentame as a code owner August 22, 2022 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant