告警如何获取 cpu 数量
#118
-
我想实现当节点负载接近或大于 cpu 核心数时发送告警,但是似乎 payload.rs 并没有这一项。 |
Beta Was this translation helpful? Give feedback.
Answered by
zdz
Dec 9, 2022
Replies: 1 comment 1 reply
-
可以取 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
daseinem
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
可以取
sys_info.cpu_num
,另外可用的两个结构ip_info
,sys_info
ServerStatus-Rust/common/proto/server_status.proto
Line 32 in 20979d7