Skip to content
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

Closed
odannyc opened this issue Jun 24, 2021 · 3 comments · Fixed by #338
Closed

nrgrpc integration is now reporting non-errors as errors in the UI #331

odannyc opened this issue Jun 24, 2021 · 3 comments · Fixed by #338
Assignees
Labels

Comments

@odannyc
Copy link
Contributor

odannyc commented Jun 24, 2021

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

  • return a NotFound error code from the grpc server

Expected Behavior

  • Does not show up in newrelic as an "error"

NR Diag results

Your Environment

Reproduction case

Additional context

@odannyc odannyc added the bug label Jun 24, 2021
@nr-swilloughby nr-swilloughby self-assigned this Jun 24, 2021
@nr-swilloughby
Copy link
Contributor

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-OK status as an error, we can selectively report them as errors, warnings, info, etc.

@RichVanderwal RichVanderwal linked a pull request Jul 8, 2021 that will close this issue
@RichVanderwal
Copy link
Contributor

Releasing this very soon!

@RichVanderwal
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants