I'm working on instrumenting Go's streaming RPCs for OpenTracing. Is there a good way to figure out when an RPC ends on the client-side so that a span can be accurately measured? (I also asked this on StackOverflow: http://stackoverflow.com/q/42988396).
I've been looking into a returning a decorated ClientStream that closes the span when it detects an error or io.EOF, but this doesn't seem like it would work in all cases if the client-side doesn't call Recv until it returns EOF (for example: http://stackoverflow.com/q/42915337). -- 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/894a41bb-a5e6-48cd-ba68-15e48ba5264a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
