gosonzhang opened a new issue, #6012:
URL: https://github.com/apache/inlong/issues/6012

   ### What happened
   
   The parent issue is:https://github.com/apache/inlong/issues/5888
   
   In the DataProxyMetricItemSet object, the units of the fields 
readSuccessCount, readFailCount, sendCount, sendSuccessCount, and sendFailCount 
are the number of message items[1], not the number of packets. The current 
implementation is based on the number of packets[2], which needs to be aligned.
   
   1. https://inlong.apache.org/docs/next/modules/dataproxy/overview/
   
![image](https://user-images.githubusercontent.com/14038849/191946648-dabcd834-d94c-4cbd-9e84-dda53354dfe2.png)
   
   2. 
https://github.com/apache/inlong/blob/master/inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/metrics/DataProxyMetricItemSet.java#L137
   
![image](https://user-images.githubusercontent.com/14038849/191946897-43f71793-ca9c-47b0-bdcd-e2ffcdd6c869.png)
   
   
   ### What you expected to happen
   
   the count of message items, not packages
   
   ### How to reproduce
   
   run and test
   
   ### Environment
   
   Linux
   
   ### InLong version
   
   master
   
   ### InLong Component
   
   InLong DataProxy
   
   ### Are you willing to submit PR?
   
   - [X] Yes, I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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]

Reply via email to