feat: add total_cpu_millicores/total_memory_bytes/cpu_usage_millicores/memory_usage_bytes (#284)

This commit is contained in:
zyy17
2025-10-22 15:55:00 +08:00
committed by GitHub
parent 69a6089933
commit 9d93fc3363
5 changed files with 984 additions and 303 deletions
+12 -4
View File
@@ -94,12 +94,20 @@ message NodeInfo {
string git_commit = 2;
// The node start timestamp
uint64 start_time_ms = 3;
// The CPU cores number of the node.
uint32 cpus = 4;
// The memory bytes of the node.
uint64 memory_bytes = 5;
// Deprecated: Use total_cpu_millicores instead. The CPU cores number of the node.
uint32 cpus = 4 [deprecated = true];
// Deprecated: Use total_memory_bytes instead. The memory bytes of the node.
uint64 memory_bytes = 5 [deprecated = true];
// The hostname of the node.
string hostname = 6;
// The total CPU millicores of the node.
int64 total_cpu_millicores = 7;
// The total memory bytes of the node.
int64 total_memory_bytes = 8;
// The CPU usage millicores of the node.
int64 cpu_usage_millicores = 9;
// The memory usage bytes of the node.
int64 memory_usage_bytes = 10;
}
message RegionStat {