-
Notifications
You must be signed in to change notification settings - Fork 599
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
Failed to get cluster name for elasticsearch during health check routine #2730
Comments
Hi @ascoppa! Thanks for letting us know about the issue. Between agent verisons We don't officially support Elasticsearch versions below 7, but we want to to explore this issue a little further to see if this is an Elasticsearch version issue or something else. You also make a good point about the number of errors we're generating, so we're going to look into reducing those. |
Hi @hannahramadan, thank you for looking at this. I was OOO shortly after opening this issue so I wasn't able to properly follow the activity on this issue. Were you guys able to find anything relevant? Is there anything else I can do to help? |
Hello @ascoppa I tried to recreate this error using a supported elasticsearch version (7.10), and using AWS for elasticsearch since that appears to be the source of your error. Unfortunately I wasn't able to reproduce the error, and I was able to see the cluster name fine in my test. It seems like this may be related to using elasticsearch 6, or perhaps some other unknown variable, such as specific AWS security settings. Considering it's not ideal that the agent keeps trying to get the cluster name and logs the error every time the client makes a call, would it be usable solution for you if instead we updated it so that each elasticsearch client instance tries to get the cluster name one time only, and if it fails (like yours does), it simply won't try again? Of course, if you're creating many client instances, it might not be quite as helpful as I'm hoping, but if a change like that sounds good to you, just let me know! |
I updated the elasticsearch instrumentation to only try to get the cluster name once per client instance here #2743. |
Description
After upgrading the New Relic agent from version
9.0.0
to9.10.2
, we began encountering multiple signature errors on our monitoring systems. Upon further inspection, the following errors were identified in our logs:and immediately below this ☝️ line
These requests are being done by new relic ruby agent apparently as part of a health check routine (they trigger multiple times over time) so as a workaround we decided to disable new relic instrumentation on Elasticsearch by setting the following environment variable
NEW_RELIC_INSTRUMENTATION_ELASTICSEARCH
todisabled
. After doing so, the signature errors disappeared.Expected Behavior
No signature errors should appear during the health check routine.
Your Environment
Note
If you need any further clarification, please don't hesitate to ask. Thank you.
The text was updated successfully, but these errors were encountered: