我想要进一步减少kindling-collector运行时所占用的cpu跟内存 #601
-
如题,我想要进一步压缩kindling-collector运行时占用的cpu跟内存大小,目前我们关闭了cpuanalyzer、noopanalyzer、k8sinfoanalyzer、tcpconnectanalyzer跟tcpmetricanalyzer,仅保留network这一分析器,同时监听的事件被压缩到以下几种,想问一下如果只是想要request_io、response_io、request_total_time这三种指标,还能不能进一步移除什么事件的订阅
还想问一下的是,我这边开启了tcpmetricanalyzer,但是没有在9500暴露的metrics中找到丢包、重传等指标,是需要修改什么吗 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
不能了,这些都是生成这三种指标的基础事件。
要获得丢包、重传等指标,需要订阅以下几类事件: - name: kprobe-tcp_close
- name: kprobe-tcp_rcv_established
- name: kprobe-tcp_drop
- name: kprobe-tcp_retransmit_skb |
Beta Was this translation helpful? Give feedback.
-
想要继续降低CPU跟内存,可能需要过滤一些进程的事件了,过滤方法为在配置文件中的
|
Beta Was this translation helpful? Give feedback.
想要继续降低CPU跟内存,可能需要过滤一些进程的事件了,过滤方法为在配置文件中的
process_filter
部分增加进程comm
: