You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2019/10/16 04:58:02 UTC

[GitHub] [skywalking] shook2012 opened a new issue #3625: How to set the traceId to the current trace context

shook2012 opened a new issue #3625:  How to set the traceId to the current trace context
URL: https://github.com/apache/skywalking/issues/3625
 
 
   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - Question or discussion
   
   ___
   ### Question
   - How to set the traceId to the current trace context
   
   I need to trace the whole invoke chain, but after MQ,  the traceId is lost。so i want get the traceId ,and put it into the MQ message body,when the message consume,   i can get the traceId from the message body and put it into the consume trace context.
   the question is: I can use the method :TraceContext.traceId() get current traceId,but how can i set the traceId  into current trace context
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services