You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@rocketmq.apache.org by superheizai <su...@aliyun.com> on 2018/04/21 02:36:48 UTC

回复:how to get tps for SCHEDULE_TOPIC_XXXX topic tps

     I can get what I want by  admin.viewBrokerStatsData
------------------------------------------------------------------发件人:superheizai <su...@aliyun.com>发送时间:2018年4月21日(星期六) 00:22收件人:users <us...@rocketmq.apache.org>主 题:how to get tps for SCHEDULE_TOPIC_XXXX  topic tps
Hey guys,
     I want to collect data about rocketmq server node, to see the current tps on the node and how topics contribute to the broker tps. Then I collect server total tps from DefaultMQAdminExt.fetchBrokerRuntimeStats, then I get topic level minute tps from mqAdmin.viewBrokerStatsData .    Today,  I encounter a problem. The broker data goes high, but the topic level is normal. I suspect, the retry lead to this problem. Then I check the code, I found the topic list, get from mqAdmin.fetchAllTopicList() didn't include the SCHEDULE_TOPIC_XXXX,  and I can't get the tps for those send back to retry queue.    Any help?
Justin Liu

ZTO express