New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow custom inspection of errors #29
Conversation
This would be very useful for my usecase as well - Since gRPC returns errors to denote 4XX Status codes (e.g. |
Sorry for the late reply. Your idea sounds good. But I think |
Renamed :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have added review comments.
Thanks, I've addressed your comments. |
Thank you! |
Is the next version of the package coming out soon (as I am eagerly awaiting this feature) ? |
Not all errors should be counted towards tripping the circuit breaker, this PR adds support for a custom inspection strategy to determine if an error should trip the circuit breaker or not.