I manually setup distributed tracing to add a Kafka header to Sarama containing the TraceParent. This is then consumed by another Go application and used to start a transaction. As shown here, Distributed tracing | Serverless | Elastic
When viewing APM transactions it successfully shows the distributed trace and the downstream service it belongs to.
However if I go to the service map it does not show the two services as being connected.
Sarama itself is not instrumented
So my questions.
Does the service map only work if APM is wrapped around http requests?
Does it not work at all with manual distributed tracing?
Or is there something else I need to do to get that part working?
Elastic 8.16.2
Go apm agent 2.6.3