mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-02 13:30:13 +00:00
Previously, the PULSE_DISK_EXCLUDE environment variable and --disk-exclude flag only filtered mount points in the hostmetrics collector. This change extends the exclusion to SMART data collection. Changes: - Updated smartctl.CollectLocal() to accept diskExclude patterns - Added matchesDeviceExclude() for block device pattern matching - Patterns support: exact match (sda), prefix (nvme*), contains (*cache*) - Updated hostagent to pass DiskExclude to SMART collector - Added comprehensive tests for pattern matching - Updated documentation |
||
|---|---|---|
| .. | ||
| collector.go | ||
| collector_coverage_test.go | ||
| collector_test.go | ||