Our technology stack is spring webflux. To support Elastic APM, we use the elastic apm bridge and opentracing-spring-cloud-starter. Works very well in the following versions:
elasticsearch version: 5.x
apm agent version: 1.6.1
apm opentracing version: 1.6.1
opentracing-spring-cloud-starter version: 0.2.6
Due to company's elasticsearch version upgrade to 6.6.5,the agent version 1.6.1 is not fit.
so we upgrade the version of agent. However there is no version compatible between agent and opentracing-spring-cloud-starter. Either there is no span, or service startup error with reporting no class method.
I have tried all versions. Some examples of version combinations and their problems are as follows:
First:
elastic-apm-agent(v1.9.1)
apm-opentracing(v1.9.0 support io.opentracing version 0.33.0)
opentracing-spring-cloud-starter(v0.2.6, support io.opentracing version 0.31.0)
This combination will cause application request to be unavailable, the log is:
Second:
elastic-apm-agent(v1.9.1)
apm-opentracing(v1.9.0, support io.opentracing version 0.33.0)
opentracing-spring-cloud-starter(v0.3.11, this is the latest version, support io.opentracing version 0.32.0)
This combination caused problem is the same as the first.
Third:
elastic-apm-agent(v1.9.1)
apm-opentracing(v1.8.0, support io.opentracing version 0.31.0)
opentracing-spring-cloud-starter(v0.2.6, support io.opentracing version 0.31.0)
The application is ok, but there is no span in the transaction at the kibana apm.
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.