Why are my spans not linked? Why are my spans orphaned?

This is most likely caused by an error in context propagation on the code level.

Make sure the network libraries used in your application are covered by applicable instrumentation libraries and, especially if you instrument manually, that the context is properly injected into outbound requests, and extracted from inbound requests.

For details and samples on context propagation for the different supported languages, see Integration walk-throughs.

3 Likes

Hi @MaciejNeumann  and @alexander_dt

I have posted a question on this https://one.dynatrace.com/hc/en-us/requests/264714?page=1.

I’m not using any network calls. I’m creating the spans with in the one method. But still Spans are not linked.

Regards,

Prasanth