You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/08/09 11:09:03 UTC

[GitHub] [rocketmq-exporter] Cczzzz opened a new issue #63: rocketmq_producer_message_size has bug

Cczzzz opened a new issue #63:
URL: https://github.com/apache/rocketmq-exporter/issues/63


   `               try {
                           //how many bytes has sent for the topic
                           bsd = mqAdminExt.viewBrokerStatsData(masterAddr, BrokerStatsManager.TOPIC_PUT_SIZE, topic);
                           String brokerIP = clusterInfo.getBrokerAddrTable().get(bd.getBrokerName()).getBrokerAddrs().get(MixAll.MASTER_ID);
                           metricsService.getCollector().addTopicPutSizeMetric(
                               bd.getCluster(),
                               bd.getBrokerName(),
                               brokerIP,
                               topic,
                               Utils.getFixedDouble(bsd.getStatsMinute().getTps())
                           );`
   
   in MetricsCollectTask  434 line,TopicPutSize use  getTps


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-exporter] maixiaohai commented on issue #63: rocketmq_producer_message_size has bug

Posted by GitBox <gi...@apache.org>.
maixiaohai commented on issue #63:
URL: https://github.com/apache/rocketmq-exporter/issues/63#issuecomment-895175600


   @Cczzzz welcome submit a pr to fix it~


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org