grpc icon indicating copy to clipboard operation
grpc copied to clipboard

feat: implement telemetry interceptor on client side

Open wingyplus opened this issue 3 years ago • 0 comments

This is a draft PR to add telemetry to the client side. It's just interceptor that call span that capture next.(stream, req). Currently, the interceptor attach stream to metadata when span is start, and add reply when the span stop. I've modify the helloworld example to show how implement logger with telemetry, its print all event and information of that event.

Screen Shot 2565-07-23 at 20 59 08

Please note that it support only unary operation call. The event metadata can be change during discussion. 🙇

This is work in progress since it's lack of unit tests.

Updates #229

wingyplus avatar Jul 23 '22 14:07 wingyplus