diff --git a/CHANGELOG.md b/CHANGELOG.md index e04c9ad0..188906a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ * [FEATURE] Add new softnet collector #1576 * [FEATURE] Add RAPL collector #1523 * [FEATURE] Add Btrfs collector #1512 +* [FEATURE] Add swap usage on darwin #1508 * [ENHANCEMENT] Collect InfiniBand port state and physical state #1357 * [ENHANCEMENT] Include additional XFS runtime statistics. #1423 * [ENHANCEMENT] Report non-fatal collection errors in the exporter metric. #1439 diff --git a/collector/meminfo_darwin.go b/collector/meminfo_darwin.go index 87f3e5a9..da443cdd 100644 --- a/collector/meminfo_darwin.go +++ b/collector/meminfo_darwin.go @@ -69,7 +69,6 @@ func (c *meminfoCollector) getMemInfo() (map[string]float64, error) { "swapped_out_bytes_total": ps * float64(vmstat.pageouts), "total_bytes": float64(total), "swap_used_bytes": float64(swap.xsu_used), - "swap_free_bytes": float64(swap.xsu_avail), "swap_total_bytes": float64(swap.xsu_total), }, nil }