Appears to indicate the agent can not connect to the apm-server
Please provide how you start the Java Application with the agent and what agent configuration parameters you use?
When you start the Application with the agent you should see a line in the log near the beginning that looks like
2019-08-01 21:54:17.616 [apm-server-healthcheck] INFO co.elastic.apm.agent.report.ApmServerHealthChecker - Elastic APM server is available: { "build_date": "2019-07-24T17:14:06Z", "build_sha": "a6b6ca2f36a7b3fd3dfe74840fed0ef9d67cb046", "version": "7.3.0"}
Do you see that? or does it say something like this which mean the Agent can not connect to the apm-server.
2019-08-01 21:44:41.422 [apm-server-healthcheck] WARN co.elastic.apm.agent.report.ApmServerHealthChecker - Elastic APM server is not available (Connection refused (Connection refused))
Another set of questions:
Is there a load balancer between the agent and the APM Server? Is that a sporadic error? Does it happen right after starting the application? Only after a certain amount of time?
We are not using any load balancer. It was working fine after the set-up , it completely stop collecting the data after sometime with the error message as i mentioned.
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.