wdtte commented on issue #184: URL: https://github.com/apache/rocketmq-exporter/issues/184#issuecomment-3580467248
/数据量大,任务耗时长,耗时主要在: collectConsumerOffset 1. ((MQAdminExtImpl) mqAdminExt).queryMsgByOffset --> 根据需要去掉这组查询,去掉这组指标 2. mqAdminExt.fetchAllTopicList()+mqAdminExt.queryTopicConsumeByWho(topic))。 --> 加一层缓存 / 同步线程池,前面有大量任务没有完成时,任务变成串行了。每隔一段时间才能更新成功指标。 --> 调大线程池、改为异步线程池 <img width="1883" height="695" alt="Image" src="https://github.com/user-attachments/assets/af1a3e77-7e0c-499d-b869-36217dc2530c" /> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
