go-grpc-middleware
go-grpc-middleware copied to clipboard
Golang gRPC Middlewares: interceptor chaining, auth, logging, retries and more.
I use github.com/grpc-ecosystem/go-grpc-middleware/v2/interceptors for add logging , but it came with different unnesesery fields like `grpc.method_type` i dont need thoose. So i forked repo and customize it. But i think...
I'm using the prometheus middleware to measure the RPC endpoint latency for my gRPC service. I've enabled the [ServerHandlingTimeHistogram](https://github.com/grpc-ecosystem/go-grpc-middleware/blob/main/providers/prometheus/server_options.go#L37). I noticed that the `grpc_code` label is not included in the...
* [ ] I added CHANGELOG entry for this change. * [x] Change is not relevant to the end user. ## Changes - Fix zap logging example - Add a...
The old `grpc_ctxtags` interceptor had an option `WithFieldExtractorForInitialReq`, to extract the tags from the first message passed from client to server. > For client-streams and bidirectional-streams, you can use `WithFieldExtractorForInitialReq`...
Hi, I was wondering if there are any plans to add a circuit breaker and bulkheading interceptor to the go-grpc-middleware library? These interceptors are commonly used in gRPC applications to...
We need unit tests for https://github.com/grpc-ecosystem/go-grpc-middleware/tree/main/interceptors/logging/examples, so we can avoid bugs like https://github.com/grpc-ecosystem/go-grpc-middleware/issues/559
Do you want to save created entry as context value to future use in another interceptors?
We already have rate limit interceptor at server side after #134. I'm considering to have one at client side to protect target service if server, since server may have no...
Hello, checking auth middleware example (https://github.com/grpc-ecosystem/go-grpc-middleware/tree/master/auth#L36) and have several questions: - what does this line do? `grpc_ctxtags.Extract(ctx).Set("auth.sub", userClaimFromToken(tokenInfo))` - also `// WARNING: in production define your own type to avoid...