Skip to content

Conversation

@bryanhuhta
Copy link
Contributor

This implements a basic stats.Handler to manage recording metrics for gRPC clients and servers. This is an improvement (possible minor) over using an interceptor because it will more precisely report timings and byte sizes as it gets execute outside of the interceptor evaluation chain.

I plan to experiment with using this over interceptors to see if there's any tangible difference in measurements (both in accuracy and performance).

I have not tested this so I cannot vouch for its accuracy yet.

@bryanhuhta bryanhuhta self-assigned this Nov 27, 2025
@bryanhuhta bryanhuhta added the DO NOT MERGE Don't merge this PR unless you know what you're doing label Nov 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DO NOT MERGE Don't merge this PR unless you know what you're doing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant