Thanks Eyal. Let's forget about Fuse as of now but just how to implement Opentracing.
I did upgraded the version now to 1.18.0.RC1. Defined the Tracer, dependencies and then JAVA_OPTS to give java agent name, service name and APM Server IP.
But get below error. It should not be localhost, I guess we need to define APM Server IP somewhere in Tracer itself. Any suggestions here?
2020-08-19 14:00:22,667 [main] WARN co.elastic.apm.agent.configuration.StartupInfo - To enable all features and decrease startup time, please configure application_packages
2020-08-19 14:00:25,638 [main] INFO co.elastic.apm.agent.impl.ElasticApmTracer - Tracer switched to RUNNING state
Red Hat Fuse starting up. Press Enter to open the shell now...
2020-08-19 14:00:26,406 [elastic-apm-server-healthcheck] WARN co.elastic.apm.agent.report.ApmServerHealthChecker - Elastic APM server http://localhost:8200/ is not available (Connection refused: connect)
2020-08-19 14:00:27,403 [elastic-apm-remote-config-poller] ERROR co.elastic.apm.agent.configuration.ApmServerConfigurationSource - Connection refused: connect