APM Agent language and version: Node.Js and using elastic-apm-node@4.0.0
Description of the problem including expected versus actual behavior. Please include screenshots (if relevant):
Hi,
I have a functioning APM server to which we are sending data from over 8 Node JS-based microservices. (using elastic-apm-node library).
Now, around yesterday I added a new microservice to our application and set up APM for the same using elastic-apm-node@4.0.0. And, it doesn't work.
Getting the following error in the logs.
{"log.level":"error","@timestamp":"2023-10-04T08:57:36.210Z","log":{"logger":"elastic-apm-node"},"ecs":{"version":"1.6.0"},"message":"APM Server transport error (503): Unexpected APM Server response when polling config\nagentcfg kibana request failed with status code 502: {\"ok\":false,\"message\":\"The instance rejected the connection.\"}\n"}
Could you please advice what should be the next steps in resolving this?
we would need to check what configuration you have in the new added microservice. Since version 3.7 of the agent the 1st log to appear shows it (redacting sensitive information like tokens). Could you please share it?
Also it would be helpful to see how it is instrumented. Is a new service or an instance of an existing one?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.