Skip to content

Commit

Permalink
Adds buffers and cached bytes to memory-stats datapoint (#3381)
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo authored Oct 30, 2024
1 parent 96486f3 commit ac992c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/system_monitor_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,8 @@ impl SystemMonitorService {
"memory-stats",
("total", info.total * KB, i64),
("swap_total", info.swap_total * KB, i64),
("buffers_bytes", info.buffers * KB, i64),
("cached_bytes", info.cached * KB, i64),
(
"free_percent",
Self::calc_percent(info.free, info.total),
Expand Down

0 comments on commit ac992c5

Please sign in to comment.