Hi everyone,
according to Does Elastic APM support Spring Cloud Stream? the current Java Agent (elastic-apm-agent-1.12.0.jar and Elastic 7.5.1) does not support creation of transactions and spans from asynchronous message communication .
We have a Spring Boot microservice landscape where almost everything communicates with Spring Cloud Stream on RabbitMQ. This means, that transactions are only visible at the Rest Endpoint service right now, and all other invoked services are not shown in APM.
@DannyT if you are relying on the Kafka plugin, be aware that the internal APIs we use to compute the outgoing trace context header and create a transaction based on it in the consumer side are about to change.
In addition, it uses binary headers, as this is what expected in Kafka. If you need to send text headers, you can use out API, as described in this topic for example.
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.