Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix filesystem used percentage (#6231)
The used percentage reported by Metricbeat does not match what is reported by `df`. Metricbeat's computation of the `system.filesystem.used.pct` value was based on the total number of bytes, but df uses the total number of bytes available to the unprivileged user. | FS | Blocks | Used | Available | Use % | Mount | Metricbeat Used % After This Change | Before This Change | |----------|-------------|-------------|------------|-------|-------|-------------------------------------|--------------------| | /dev/vda | 21137846272 | 16992858112 | 3071246336 | 85 | / | 0.846928312 | 0.8039067885 | Fixes #5494
- Loading branch information