Is there a easy way to tell where a gRPC call failed in header?

21 views
Skip to first unread message

Juanyi Feng

unread,
Mar 3, 2020, 7:12:58 PM3/3/20
to grpc.io
Is there any easy way to tell which layer did a gRPC call fail in? (gRPC server layer vs application code layer)

Is there any field in the header that I can look into to easily tell? Or what's the common practice for it?

I think it can be solved by implementing a server interceptor and flag a customized metadata before it goes into the application code. But I wonder if there's other neater way. Thanks!
Reply all
Reply to author
Forward
0 new messages