-
Notifications
You must be signed in to change notification settings - Fork 301
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
nrgrpc integration is now reporting non-errors as errors in the UI #331
Comments
Thanks for raising this issue. We're looking into the best way to provide the greater granularity you are requesting so that instead of reporting any non- |
Releasing this very soon! |
Enhanced handling of grpc errors (issue #331)
Hi @odannyc , we released the 3.14.0 version of the Go Agent, which has a configurable error handler for gRPC. We'd love it if you could give it a spin! Here are the docs for this new error handling. |
Description
The latest version of the newrelic grpc integration package is reporting all grpc codes as errors. I believe the issue is here:
https://github.com/newrelic/go-agent/blob/master/v3/integrations/nrgrpc/nrgrpc_server.go#L85-L87
I think we should do filtering on grpc codes that are actual errors. Here is an example of what filtering another library does:
https://github.com/grpc-ecosystem/go-grpc-middleware/blob/master/logging/zap/options.go#L104-L144
Steps to Reproduce
Expected Behavior
NR Diag results
Your Environment
Reproduction case
Additional context
The text was updated successfully, but these errors were encountered: