sdk-java icon indicating copy to clipboard operation
sdk-java copied to clipboard

provide an option to print trace-id and span-id on java-sdk

Open hema-kishore-gunda opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. Yes. currently trace-id and span-id are not being printed on logs with OpenTracingWorkerInterceptor.

Describe the solution you'd like Add trace-id and span-id to MDC-context.

Describe alternatives you've considered Workaround: Implement custom OpenTracingWorkerInterceptor, OpenTracingWorkflowInboundCallsInterceptor and OpenTracingActivityInboundCallsInterceptor

Additional context This feature has been discussed in slack channel thread https://temporalio.slack.com/archives/CTT84KXK9/p1655727317596189.

hema-kishore-gunda avatar Jun 21 '22 13:06 hema-kishore-gunda