mirror of
https://github.com/prometheus/node_exporter
synced 2025-01-24 14:12:45 +00:00
Fix up Darwin swap metrics
* Add a changelog entry. * Remove redundant swap free metric. Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
parent
9828533697
commit
1a75bc7b50
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user