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/07/25 14:23:10 UTC

[GitHub] [rocketmq-externals] StyleTang opened a new pull request #757: [ISSUE #756] [RocketMQ-Console] Improve message trace UI

StyleTang opened a new pull request #757:
URL: https://github.com/apache/rocketmq-externals/pull/757


   ## What is the purpose of the change
   
   improve message trace UI
   
   ## Brief changelog
   
   * Change Send Message Info UI
   * Handle edge case: consume trace subBefore or subAfter trace is missing (if subAfter trace is missing, the status will be unknown)
   * Fix timestamp typo
   * Time format for ms
   * Change costTime color from white to black
   * Remove graph and data format button
   * Fix message trace graph when producer send message cost time < 1 ms
   
   ## Verifying this change
   
   ### MessageTraceUIChange
   
   ![image](https://user-images.githubusercontent.com/5286751/126902405-746b90d7-f388-466a-b5ca-e0ec3b2af754.png)
   
   ### Handle edge case
   
   #### Only subBefore message trace commit succeed 
   
   ![image](https://user-images.githubusercontent.com/5286751/126902435-17ba9485-72b4-4a53-b6c1-f81aa18d5a97.png)
   
   #### Only subAfter message trace commit succeed 
   
   ![image](https://user-images.githubusercontent.com/5286751/126902449-b86d582f-9c5e-4b8b-9df6-d462d71588a0.png)
   
   
   ### When producer send message cost time < 1 ms
   
   ![image](https://user-images.githubusercontent.com/5286751/126902471-08a93cc1-6fb0-4939-a82a-15a1bdae4baa.png)
   
   
   
   Follow this checklist to help us incorporate your contribution quickly and easily. Notice, `it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR`.
   
   - [x] Make sure there is a [Github issue](https://github.com/apache/rocketmq/issues) filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue. 
   - [x] Format the pull request title like `[ISSUE #123] Fix UnknownException when host config not exist`. Each commit in the pull request should have a meaningful subject line and body.
   - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
   - [x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in [test module](https://github.com/apache/rocketmq/tree/master/test).
   - [x] Run `mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle` to make sure basic checks pass. Run `mvn clean install -DskipITs` to make sure unit-test pass. Run `mvn clean test-compile failsafe:integration-test`  to make sure integration-test pass.
   - [ ] If this contribution is large, please file an [Apache Individual Contributor License Agreement](http://www.apache.org/licenses/#clas).
   


-- 
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-externals] vongosling merged pull request #757: [ISSUE #756] [RocketMQ-Console] Improve message trace UI

Posted by GitBox <gi...@apache.org>.
vongosling merged pull request #757:
URL: https://github.com/apache/rocketmq-externals/pull/757


   


-- 
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-externals] StyleTang commented on pull request #757: [ISSUE #756] [RocketMQ-Console] Improve message trace UI

Posted by GitBox <gi...@apache.org>.
StyleTang commented on pull request #757:
URL: https://github.com/apache/rocketmq-externals/pull/757#issuecomment-887503504


   In my local environment sometimes the send message latency will less than 1ms, but in real environment there will have network latency, may be > 1ms. Not sure whether we should change the precision from milliseconds to microseconds, for now I will just keep using milliseconds.
   
   The user experience of this commit is like this:
   
   1. If can not get costTime, **no cost time will show** in the graph, will use **--** in data table (For transaction trace and consume message trace which subAfter is missing) 
   2. For cost time is 0ms,  we just show **<1ms** 
   ![image](https://user-images.githubusercontent.com/5286751/127159668-a70ae9fc-329f-4c12-8a7d-91feb8df3837.png)
   
   ![image](https://user-images.githubusercontent.com/5286751/127159696-859c5064-d28b-498c-99ca-e55332c6ff07.png)
   
   ![image](https://user-images.githubusercontent.com/5286751/127159737-2741e93a-b801-4630-b72e-635f0d2bf2d3.png)
   
   


-- 
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-externals] StyleTang commented on pull request #757: [ISSUE #756] [RocketMQ-Console] Improve message trace UI

Posted by GitBox <gi...@apache.org>.
StyleTang commented on pull request #757:
URL: https://github.com/apache/rocketmq-externals/pull/757#issuecomment-886761558


   Yes, I will investigate it and find a better way to show 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



[GitHub] [rocketmq-externals] vongosling commented on pull request #757: [ISSUE #756] [RocketMQ-Console] Improve message trace UI

Posted by GitBox <gi...@apache.org>.
vongosling commented on pull request #757:
URL: https://github.com/apache/rocketmq-externals/pull/757#issuecomment-886364823


   Do we have a better way to handle the 0ms which showed in our screenshot?


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