yanglimingcn commented on code in PR #2519:
URL: https://github.com/apache/brpc/pull/2519#discussion_r1482420118


##########
src/brpc/global.cpp:
##########
@@ -329,6 +334,9 @@ static void GlobalInitializeOrDieImpl() {
     // Make GOOGLE_LOG print to comlog device
     SetLogHandler(&BaiduStreamingLogHandler);
 
+    // Set bthread create span function
+    bthread_set_create_span_func(CreateBthreadSpan);

Review Comment:
   感觉别人也得从rpcz_service查询trace内容比较合理,直接读trace这个leveldb也不太合理。



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

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to