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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]