Netflix-Skunkworks / atlas-system-agent

Agent that reports system metrics through SpectatorD.
Apache License 2.0
5 stars 8 forks source link

improve exclusion of loopback and ram disk devices #107

Closed copperlight closed 2 years ago

copperlight commented 2 years ago

The BaseOS recently changed to move the loopback devices to a different mount point, which caused them to bypass the existing filtering for the disk.bytesUsed metrics.

This change uses the device major number as the filter filter pass to ensure that these devices do not show up in the usage metrics.