Show available RAM and measured CPU usage for devices
Rust development slice / linux (push) Failing after 8s

This commit is contained in:
2026-11-18 18:37:18 +01:00
parent fb2376443c
commit b3fe35b86b
17 changed files with 254 additions and 30 deletions
+10 -1
View File
@@ -31,7 +31,16 @@ message Envelope {
}
message ClientHello { string agent_version = 1; repeated string capabilities = 2; }
message ServerHello { uint64 connection_generation = 1; uint32 max_message_bytes = 2; }
message Heartbeat { string instance_id = 1; uint64 uptime_seconds = 2; }
message Heartbeat {
string instance_id = 1;
uint64 uptime_seconds = 2;
SystemUsage system_usage = 3;
}
message SystemUsage {
optional uint32 cpu_usage_basis_points = 1;
optional uint64 ram_available_bytes = 2;
optional uint64 ram_total_bytes = 3;
}
// Single-chunk root inventory scope only; JSON is schema rmm.linux.base/1.
message InventorySnapshot {
string snapshot_id = 1;