[Go] Identify dialed address and peer in client interceptors
12 views
Skip to first unread message
mkle...@gmail.com
unread,
May 28, 2018, 9:32:53 AM5/28/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to grpc.io
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.