ZhengweiZhu opened a new issue, #3088:
URL: https://github.com/apache/brpc/issues/3088

   **Is your feature request related to a problem?**
   brpc kindly provides a bthreads_service to check a **specified** thread by 
curl ip:port/bthreads/<bthread_id>. The problem is that we have no idea what 
the <bthread_id> is as it is generated by code, which makes this service 
useless.
   
   **Describe the solution you'd like**
   I suggest to provide a method to check **all** living bthreads (bthreads 
created and not finished yet) and we can check by curl ip:port/bthreads/all or 
ip:port/bthreads/all?st=1, which would be very helpful for bthread debugging 
like bthread deadlock.
   
   I have implemented the method and would like to create a pr if it is ok. 
@chenBright 
   **Describe alternatives you've considered**
   
   
   **Additional context/screenshots**
   
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to