feat(container-runner): setup instance memory and cpu usage logger - #5549
Conversation
ReviewNice addition — the cgroup v2 / 1. 2. CHILDREN.retain_async(|actor_id, _| {
ids.push(actor_id.clone());
true
}).await;This codebase already has an idiomatic scc read-only-scan pattern, 3. No test coverage for the new parsing/calculation logic (minor) 4. Possible double-count in let total: u64 = values.iter().sum();
let idle = values[3] + values.get(4).copied().unwrap_or(0);
5. New env var bypasses the existing self-documentation mechanism (nit) Other notes
|
886a208 to
33d70a3
Compare
40d03bf to
13cd549
Compare
13cd549 to
fbd0e22
Compare
45f065f to
c0e196d
Compare
fbd0e22 to
7df3e38
Compare
c0e196d to
8d63009
Compare
7df3e38 to
5c46256
Compare
8d63009 to
cabfb3c
Compare
5c46256 to
b8b0fd3
Compare
cabfb3c to
98b0536
Compare
b8b0fd3 to
f8766f0
Compare
98b0536 to
d0608e2
Compare
f8766f0 to
4451538
Compare
No description provided.