-
Notifications
You must be signed in to change notification settings - Fork 600
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
NoMethodError in latest version undefined method 'transaction_name'
#2166
Comments
I'm seeing the same issue for multipart upload requests. I'm also using the |
Thanks for bringing this to our attention! |
Hey @tannalynn thanks for looking into this. Unfortunately now I get a different error after upgrading to v9.4.1:
I've been able to work around this by explicitly requiring the
So, maybe you're just missing a require in the NewRelic Agent code? |
I can confirm, I am observing the same exception when trying out the 9.4.1 version of this gem. |
Thank you for letting us know this is still not working correctly. That's surprising to us that adding a require solved the issue. The agent programmatically loads the instrumentation files, which should include this roda file. We double checked this morning and this is working as expected when running a simple roda app, and the file is loaded by that code. It's not clear why this would be different when using the Before we release this change, we'd appreciate feedback on if this branch works correctly for you. Since we don't have a test app set up that uses the
|
Hi @tannalynn, I've tested your branch locally and I can confirm that it fixes the issue. Thank you for jumping on this so quickly 🙏 I'm not sure why you're only seeing this for Thanks again for the prompt resolution to this issue. |
I have tested the branch on production, and the issues are fixed. Thanks a lot. |
Thank you both for confirming this fix resolves the issue for you. I just released the fix with 9.4.2. |
Description
I updated our application from 9.3.1 to 9.4.0 this morning and we immediately observed
Expected Behavior
I expect no exception at this point. Downgrading the agent to 9.3.1 fixed the issue.
stacktrace
Steps to Reproduce
We have a pretty basic Ruby on Rails application. Please note that the stack trace seems to point at the Roda agent, which was introduced in this PR.
We only use Roda as a dependency of the
uppy-s3_multipart
gem. The error occurs when there is aPOST
request to the/s3/multipart
route that provided by the gem.Because we only updated the
newrelic_rpm
gem in the deploy we are quite sure that the bug was introduced by thenewrelic_rpm
gem and very likely by the PR mentioned above.Your Environment
We are running
rails 7.0.6
,uppy-s3_multipart 1.2.1
and observed the bug only after updating tonewrelic_rpm 9.4.0
(9.3.1
was working fine).For Maintainers Only or Hero Triaging this bug
Suggested Priority (P1,P2,P3,P4,P5):
Suggested T-Shirt size (S, M, L, XL, Unknown):
The text was updated successfully, but these errors were encountered: