Hi,
First of all, I'd like to thank the gRPC Go team for the amazing community outreach during the design of Go gRPC server interceptors. It was a pleasure participating in the design process and I hope that future discussions will follow along similar lines.
Now that Go gRPC has support for server-side interceptors, we can use the API to do interesting things.
Contains HTTP-like Middleware tools based on Interceptors, e.g. chaining, easy context modification etc.
I hope the repo to gather other futures that make writing gRPC middleware easy, ones that wouldn't belong in grpc-go upstream (like
PR#653 that this repo's existence is inspired by).
Contains a generic server-side Prometheus monitoring interceptor. Improbable.io has been using that code (from
PR#299) for about a year. I'm working to incorporate feedback from Prometheus devs in the hope of standardizing the conventions. A Java implementation of Prometheus interceptor that follows these conventions is soon to follow.
Bug reports, PRs and idea contributions are very much welcome.
Michal Witkowski
Head of Infrastructure
Improbable