Skip to content

Commit

Permalink
v2.1: Adds buffers and cached bytes to memory-stats datapoint (backpo…
Browse files Browse the repository at this point in the history
…rt of #3381) (#3385)

Adds buffers and cached bytes to memory-stats datapoint (#3381)

(cherry picked from commit ac992c5)

Co-authored-by: Brooks <brooks@anza.xyz>
  • Loading branch information
mergify[bot] and brooksprumo authored Oct 30, 2024
1 parent 285e2e8 commit 621d976
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 621d976

Please sign in to comment.