ryanpepe2000 / mscs710-backend

Project for capping.
MIT License
1 stars 1 forks source link

Update Metrics Collected w/ OS Dependency - Device Agent #41

Open casaltarelli opened 2 years ago

casaltarelli commented 2 years ago

Purpose We need to update our Device Agent so that it is capable of collecting specific metrics dependent on the Operating System of the target device.

Recently we had discovered that psutil.process.io_counters is only available for the Windows OS. Due to their not being any smooth solution to this dependency, we are instead going to remove the collection of per process I/O disk metrics for Linux and MacOS devices registered to our service.

Expected Behavior When an Agent is run on a Windows device our system should be capable of collecting and recording Disk I/O per process. The Dashboard for that respective device should behave as expected

On MacOS and Linux, this metric should be defaulted to 0. The Dashboard view should be capable of recognizing the target device OS and display our process table removing the disk i/o column from our process table entirely.