-
Notifications
You must be signed in to change notification settings - Fork 813
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[disk] backward compatibility with old Disk check
The new disk check was ignoring by default tmpfs disks and some others, breaking compatibility with the old check. It is fixed by filtering on device name (exclusion on '' and 'none') and total disk usage (!= 0), and setting all_partitions to True for psutil. The new all_partitions option will send metrics from the non excluded disks with 0 total disk usage.
- Loading branch information
Showing
3 changed files
with
30 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters