Track shared memory in metrics (#5023)

* Track shared memory so we can exclude them form resident memory.

* Bump psutil version to 3.3.0 to get shared memory metrics.
This commit is contained in:
Jimmy Chen
2024-01-06 06:48:11 +11:00
committed by GitHub
parent 01994c438e
commit 0c97762032
4 changed files with 18 additions and 32 deletions

View File

@@ -36,7 +36,7 @@ pretty_reqwest_error = { workspace = true }
tokio = { workspace = true }
[target.'cfg(target_os = "linux")'.dependencies]
psutil = { version = "3.2.2", optional = true }
psutil = { version = "3.3.0", optional = true }
procfs = { version = "0.15.1", optional = true }
[features]