-
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
Logs full of undefined method `access_key_id' #2682
Comments
I'm sorry to hear this is happening, @kichik. Thanks for bringing this to our attention. It seems like this might be related to our new DynamoDB instrumentation introduced as part of 9.10.0. While we look into this, I think the error should stop if you disable DynamoDB instrumentation. You can do this by updating your instrumentation.dynamodb: disabled Or by using an environment variable: Can you let us know if that stops the problem? |
Thanks for the quick reply @kaylareopelle. For now we downgraded to 9.9.0 and things are stable. But it's good to know DynamoDB instrumentation can be disabled. As part of this issue we have seen DynamoDB segments being 3x longer. I bet it's just the undefined method issue. But if not, it would be good to be able to disable it. |
@kichik - Glad to hear you found a way to restore stability! We reproduced the problem and have a solution in this branch: In addition to accommodating If you'd like to try it out, you can do so by installing gem 'newrelic_rpm', github: 'newrelic/newrelic-ruby-agent', branch: 'bugfix_aws_dynamodb_credentials_error' We'll include this fix in a patch release soon, but if you decide to test it out, we'd love to hear your feedback. |
Thanks @kaylareopelle. The big issue seems to be resolved. But CPU is still a bit higher. Our average transaction segment time of DynamoDB went from 125ms to 150ms. CPU usage is also about 5% higher. I am not sure yet what's going on. I'll report back if I have more details. |
Hi @kichik, thanks for the update! If you get more details about the slowdown, we'd love to hear them. Feel free to open a new issue and we'll take a closer look 🙂 |
Thanks @kaylareopelle. Is there some guidelines on the information you need to be able to resolve such an issue? I'm not sure what to get. Right now we're thinking of rolling back again as it eats too much of our available overhead. |
Description
After upgrading from 9.5.0 to 9.10.0, our servers started using a lot more CPU and filling up their disk space. Turns out
newrelic_agent.log
is filled non-stop with:That method doesn't exist on AWS SDK v3, but it does on v2.
I believe it's due to this change:
1329b31
Expected Behavior
I would expect no performance impact and no unsustainable amount of logging.
Steps to Reproduce
Any AWS SDK call seems to trigger it. Specifically for us we have one instance doing a lot of DynamoDB calls where we saw it affect production negatively.
Your Environment
Amazon Linux 2.
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: