brpc
brpc copied to clipboard
process_cpu_usage 用户代码获取不准确问题
Describe the bug (描述bug) 通过如下代码获取 bvar::Variable::describe_exposed("process_cpu_usage");
获取到的 process_cpu_usage 与 brpc 内部监控页面获取的数值不一致且有延迟,请问是我使用的方式不对吗?
To Reproduce (复现方法)
Expected behavior (期望行为)
Versions (各种版本) OS: Compiler: brpc: protobuf:
Additional context/screenshots (更多上下文/截图)