yarpc-go icon indicating copy to clipboard operation
yarpc-go copied to clipboard

[Tracing Redesign][2/N] Implement tracing unary Interceptors

Open kexiongliu123 opened this issue 1 year ago • 1 comments

This PR introduces the unary interceptors in YARPC Go to improve the structure and functionality of tracing and middleware handling. The primary focus is on separating the unary interceptors to allow for specialized optimizations and cleaner handling of tracing operations.

Key Changes:

Introduced a dedicated UnaryInbound and UnaryOutbound middleware architecture, simplifying the tracing logic for unary requests. Introduced inbound.go and outbound.go files to reflect the specialized unary middleware design, improving maintainability and reducing complexity. Enhanced test coverage for the unary path, ensuring that all middleware logic is properly unit tested with specific focus on the flow of unary RPCs. Updated helper methods for extracting and applying tracing tags to unary requests, ensuring clearer separation of concerns.

kexiongliu123 avatar Oct 08 '24 01:10 kexiongliu123

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Oct 08 '24 01:10 CLAassistant