APM on docker did not send logs trace to elastic cloud

What is a problem with the java agent, I got this: ERROR co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Failed to handle event of type JSON_WRITER with this error: Connection refused
What should I look at? Can you just direct me the right way?
Thanks for the help.

This one was from java agent container app {"ok":{"build_date":"2020-07-09T18:01:36Z","build_sha":"dda44e48cd9c3bac7e5a359a11974594d1d10347","version":"6.8.11"}}root@ccd045e291db

Just one question.
If I want to get a transaction, services, traces ... from the APM agent, do I need to set up a Fleet in Kibana or not?

No, you don't need Fleet, just to configure the Java agent to send to APM-server.

What fleet integration does in practice is more or less:

  • automatically deploy an apm-server running on the host with http://localhost:8200 endpoint.
  • configure this apm-server instance to send data back to ES
  • by default apm agents use http://localhost:8200 to send data, thus any APM agent deployed on a Fleet-managed server will require only minimal configuration
1 Like

Thanks understood.
When I will finish the setup between the java agent or APM-Server, I will send you a fedbeek.
Someone has like me issues, maybe.
Thanks for the help team Elastic. :+1: :clap: :handshake:
Regards,
Bekk777

Thank you very much!
I just setup only one container with a java agent and APM-server together, now is working.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.