You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/11/30 03:40:33 UTC
[GitHub] [rocketmq] hujie6 opened a new issue, #5615: [OPTIMIZATION] record pre putMessageDistributeTime
hujie6 opened a new issue, #5615:
URL: https://github.com/apache/rocketmq/issues/5615
version:
rocketmq 4.8.0
rocketmq-exporter
Q: when i use rocketmq exporter to collect rocketmq cluster metrics(collection period is one minute), i find that the putMessageDistributeTime of broker is not correct by calling fetchBrokerRuntimeStats. And then i reviewed StoreStatsService, putMessageDistributeTime could be initialized every minute when calling printTps method. if exporter's collection time is different from StoreStatsService printTps time, user will get incorrect putMessageDistributeTime.
how to fix:
we should record old putMessageDistributeTime when init putMessageDistributeTime every time. when calling fetchBrokerRuntimeStats to get putMessageDistributeTime, we should return the old putMessageDistributeTime.
--
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: commits-unsubscribe@rocketmq.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] hujie6 commented on issue #5615: [OPTIMIZATION] record pre putMessageDistributeTime
Posted by GitBox <gi...@apache.org>.
hujie6 commented on issue #5615:
URL: https://github.com/apache/rocketmq/issues/5615#issuecomment-1331607572
I had optimized it, and i got correct putMessageDistributeTime. maybe i can submit a pull request if possible
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] hujie6 closed issue #5615: [OPTIMIZATION] record pre putMessageDistributeTime
Posted by GitBox <gi...@apache.org>.
hujie6 closed issue #5615: [OPTIMIZATION] record pre putMessageDistributeTime
URL: https://github.com/apache/rocketmq/issues/5615
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] lizhimins commented on issue #5615: [OPTIMIZATION] record pre putMessageDistributeTime
Posted by GitBox <gi...@apache.org>.
lizhimins commented on issue #5615:
URL: https://github.com/apache/rocketmq/issues/5615#issuecomment-1331714458
Nice
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] hujie6 commented on issue #5615: [OPTIMIZATION] record pre putMessageDistributeTime
Posted by GitBox <gi...@apache.org>.
hujie6 commented on issue #5615:
URL: https://github.com/apache/rocketmq/issues/5615#issuecomment-1332025743
> PR is welcome! And we introduce new metrics for RocketMQ, see [RIP-46](https://github.com/apache/rocketmq/wiki/RIP-46-Observability-improvement-for-RocketMQ) and [Spec](https://github.com/apache/rocketmq/issues/5366) please.
i find rocketmq 5.0 had fixed this bug. this issue
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] ShadowySpirits commented on issue #5615: [OPTIMIZATION] record pre putMessageDistributeTime
Posted by GitBox <gi...@apache.org>.
ShadowySpirits commented on issue #5615:
URL: https://github.com/apache/rocketmq/issues/5615#issuecomment-1331634113
PR is welcome! And we introduce new metrics for RocketMQ, see [RIP-46](https://github.com/apache/rocketmq/wiki/RIP-46-Observability-improvement-for-RocketMQ) and [Spec](https://github.com/apache/rocketmq/issues/5366) please.
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org