You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by "JedrekWang (via GitHub)" <gi...@apache.org> on 2023/03/25 07:06:53 UTC

[GitHub] [servicecomb-java-chassis] JedrekWang opened a new issue, #3727: SlowInvocationLogger耗时统计不正确

JedrekWang opened a new issue, #3727:
URL: https://github.com/apache/servicecomb-java-chassis/issues/3727

   SlowInvocationLogger 记录了 **慢请求** 各个阶段的耗时,发现如下问题,记录日志如下:
   
   ![Snipaste_2023-03-25_14-20-35](https://user-images.githubusercontent.com/28520968/227700577-93dae289-3109-4fec-84b2-c52e897d55a3.png)
   可见总体耗时为21s,但是下面各个步骤加起来的时间很短
   通过本地复现发现,在通过Vert.X建立HttpClientRequest,restClientRequest.end()后,如果对应的ip:port无法成功建联,则会报错 *Failed to send request, local not connected, remote: xxx* 时,此时,finishWriteToBuffer 为0,所以send request 及后续阶段都为0ms
   
   建议:将VertX建联的耗时也统计到SlowInvocationLogger里面
   


-- 
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@servicecomb.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [servicecomb-java-chassis] lbc97 commented on issue #3727: SlowInvocationLogger耗时统计不正确

Posted by "lbc97 (via GitHub)" <gi...@apache.org>.
lbc97 commented on issue #3727:
URL: https://github.com/apache/servicecomb-java-chassis/issues/3727#issuecomment-1483750130

   应的ip:port无法成功建联   指的是端口不通是吧 然后你得意思vertx建立链接的耗时SlowInvocationLogger  没有统计进去是吗


-- 
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@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [servicecomb-java-chassis] JedrekWang commented on issue #3727: SlowInvocationLogger耗时统计不正确

Posted by "JedrekWang (via GitHub)" <gi...@apache.org>.
JedrekWang commented on issue #3727:
URL: https://github.com/apache/servicecomb-java-chassis/issues/3727#issuecomment-1483771427

   > 你说的ip:port无法成功建联 指的是端口不通是吧 然后你得意思vertx建立链接的耗时SlowInvocationLogger 没有统计进去是吗
   
   对,不管是端口不通,还是网络慢,反正意思是要统计进去,不然总耗时对不上


-- 
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@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] SlowInvocationLogger耗时统计不正确 [servicecomb-java-chassis]

Posted by "liubao68 (via GitHub)" <gi...@apache.org>.
liubao68 closed issue #3727: SlowInvocationLogger耗时统计不正确
URL: https://github.com/apache/servicecomb-java-chassis/issues/3727


-- 
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@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org