-
Notifications
You must be signed in to change notification settings - Fork 295
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
v3/integrations/nrgrpc: Error message not found and Stack trace is incorrect #221
Comments
Hi @Dilip-Nandakumar! Sorry for not getting back to you sooner. I know you also created a Support ticket for this issue, and I am currently working with our Support team to investigate. I would like to carry forward with future communication via the Support ticket, although I will come back here and add final details in case someone comes across this same issue in the future and wants to know what the resolution is. |
hi @Dilip-Nandakumar - I have been working on reproducing this issue and will be filing a bug for it. However, I don't think my stack trace seems to be problematic when I repro the issue - could you post what you are seeing and what you expect it to be so I can compare? |
Current StackTrace In New Relic
Expected StackTrace The stack trace was printed using
Missing in Current StackTrace
The expectation is to get the full stacktrace along with the handler function from where the error is thrown. |
Thank you for the additional information! That is exactly what I needed. I am adding this bug to our board to be prioritized. We are unfortunately somewhat shorthanded right at the moment so I can't make any promises about how it will be prioritized, but we will update this issue if and when we do a release addressing the bug. |
having this same issue, can NewRelic give us update about this bug? thanks! cc @jodeev @newrelic-eheinlein |
Thanks, @guntraf ! From your reports, it looks like skipping the stop of the stack trace, which generally keeps the New Relic Agent from needlessly appearing in the traces, is working against us in this case. We'll get a reproduction going and determine the best path forward in the case of the nrgrpc integration. |
I am also running into this issue. I'd really like to see the grpc error message in the @RichVanderwal Can you provide us with an update on this? It's been close to a month since it was stated that the team was looking into it. Thanks! |
There are two separate issues reported here. We're working on the error message issue, but I do have an answer on the stack trace problem. After reviewing the code and running some tests we have determined that the error reporting code's handling of the call stack trace is working as intended, but we see where there may be some confusion about the intended behavior. The Go agent removes the topmost set of calls that come from modules within the agent itself, so we report the functions in the application itself and don't clutter the report with the calls inside the agent that are merely reporting that error. You're seeing a number of your application's functions omitted from the reported stack trace as well, but that is because your application is the example code supplied along with the Go Agent, which is located in the Go Agent's source tree, and so gets automatically removed. You should not see this in an actual production application (i.e., one whose source code is not located in the New Relic Go Agent source tree). Can you confirm that this is the case by trying with an application which is not located in the Agent's source tree? Thanks |
Closing this issue as complete due to @nr-swilloughby 's fix. |
Description
On navigating to errors section under Events we are able to find the error response recored for grpc api calls.
However on clicking on a specific error we cannot find the error message and stack trace is incomplete.
We can only find the grpc error status code
response code 2
.Steps to Reproduce
Simulate an error response from grpc handler in the example
Expected Behavior
NR Diag results
Your Environment
Reproduction case
Additional context
The text was updated successfully, but these errors were encountered: