-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # 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: