devkanro commented on issue #5349:
URL: https://github.com/apache/skywalking/issues/5349#issuecomment-685445435


   > @devkanro We just need the remote name or network address. I think we 
could get that from the stub initialization, right?
   
   @wu-sheng 
   The remote name or network address will not be resolved in stub 
initialization...
   The `ManagedChannelImpl` will call the start method of `NameResolver`, and 
use the listener to get resolve result.
   Maybe hook the stub is not a good choose, we should focus on the 
`NameResolver` or `SmartNameResolver`. 
   
   Support `NameResolver` for all cases, `SmartNameResolver` for jetcd case. 
`NameResolver` supporting will be a little complex, `SmartNameResolver` will be 
easy to support.
   
   For jetcd case, we can detect the grpc client created by jetcd client, and 
set the default authority to `ExitSpan` if authority not be set.


----------------------------------------------------------------
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:
[email protected]


Reply via email to