mufiye commented on issue #9999: URL: https://github.com/apache/skywalking/issues/9999#issuecomment-1381424601
> I am not following the demo codes actually. > > 1. About `public SpanRef(Object object)`, what is the `Object` about? > 2. Why `TracerCreateLocalSpanInterceptor` has an `AbstractSpan localSpan;` field? Interceptor should not have any field in most cases. 1. 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. 2. For the second point, I will correct this by merging the codes in `beforeMethod` into the `afterMethod`. You just ignore the `AbstractSpan localSpan` statement. -- 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]
