Challenges
- Simplify the client logger you created in the last chapter by using the logging middleware.
- Check the
protoc-gen-validate
rules (https://github.com/bufbuild/protoc-gen-validate/blob/main/README.md) and simplify the error handling that you added in the last chapter’s challenges. - Check the other middleware available in https://github.com/grpc-ecosystem/go-grpc-middleware/tree/v2 and try to implement one. An example could be the selector middleware.
- Create a simple Grafana dashboard based on the metrics the server is exposing. An example could be a dashboard that displays the percentage of requests that succeeded.