Open supercocoa opened 3 years ago
这个确实是个问题,社区可以一起来看一下获取容器 load 的比较好的方式。
The same issue entranced in https://github.com/micrometer-metrics/micrometer/issues/1534.
The same issue entranced in micrometer-metrics/micrometer#1534.
maybe you can refer this https://juejin.cn/post/6986598285406371871/ ,it is my ideas about solving this.
容器里获取 CPU 可以参考以下方法:
怎么没有了后续的支持更新呢,是项目不维护了吗?
Issue Description
k8s pod里SystemStatusListener获取到的是物理机的load不是pod的load
Describe what you expected to happen
可以获取到pod或容器里的load
Tell us your environment
k8s