wu-sheng commented on issue #9999: URL: https://github.com/apache/skywalking/issues/9999#issuecomment-1381438455
> For the first point, the SpanRef should take the AbstractSpan instance as parameter to assign the dynamic filed with EnhancedInstance#setSkyWalkingDynamicField in the construction period. I think I know the gap now. You are creating the SpanRef in the interceptor, but actually, you could use `tracer.create` to build the SpanRef, and only `setSkyWalkingDynamicField` in the after method. Then you don't need this weird `object` as parameter. -- 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]
