You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: