Hi all,

Is there a canonical way to retrieve information about the server that was 
dialed and called in a client interceptor?

UnaryClientInterceptor [0] seems to provide the ClientConn, on which 
ChannelzMetric [1] can be called to retrieve info that includes the dial 
target. But is that the best way?

I was not able to find a way to find the address of the actual server that 
ended up serving the request.

Thanks!

[0] https://godoc.org/google.golang.org/grpc#UnaryClientInterceptor
[1] https://godoc.org/google.golang.org/grpc#ClientConn.ChannelzMetric

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/8c048ad9-5c97-4ad1-9471-3bbb4eebc7d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to