# Dynatrace End-To-Tracing with OpenTelemetry

**URL:** <https://community.dynatrace.com/t/dynatrace-end-to-tracing-with-opentelemetry/35717>\
**Category:** OpenTelemetry\
**Tags:** opentelemetry, application-monitoring\
**Created:** [July 3, 2022, 5:17am UTC](https://community.dynatrace.com/t/dynatrace-end-to-tracing-with-opentelemetry/35717 "2022-07-03T05:17:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Asifali](https://avatars.discourse-cdn.com/v4/letter/a/85e7bf/32.png) [@Asifali](https://community.dynatrace.com/u/Asifali)\
**Post date:** [July 3, 2022, 5:17am UTC](https://community.dynatrace.com/t/dynatrace-end-to-tracing-with-opentelemetry/35717/1 "2022-07-03T05:17:26Z")

</div>

Hello,

I am exploring Distributed Tracing in Dynatrace (OpenTelemetry/OneAgent/Java) to stitch and visualize end-to-end transactions. I have 2 services - Service A and Service B. Service A sends a message to Service B. I can see open telemetry data individually for Service A and Service B but they are not stitched together in Dynatrace even though Context Propagation is enabled and it is happening (I can debug the application locally and see it being received in Service B correctly). I have configured all the settings as per the documentation but Dynatrace is not able to relate Service A and Service B. (Note - Service A sends message to Service B using Nats Messaging). Any help is highly appreciated. Thank you.

---

<div class="post-metadata">

**Author:** ![bradley\_danyo](https://avatars.discourse-cdn.com/v4/letter/b/e0b2c6/32.png) [@bradley\_danyo](https://community.dynatrace.com/u/bradley_danyo)\
**Post date:** [July 12, 2022, 4:15pm UTC](https://community.dynatrace.com/t/dynatrace-end-to-tracing-with-opentelemetry/35717/2 "2022-07-12T16:15:16Z")

</div>

Hi Asifali,

As far as I know, messages need to be stitched together by creating spans manually/properly pass the OTel context from span to span to ensure they use the correct span ID.&nbsp; Messaging systems in OTel rely heavily on span links, which currently aren’t supported in Dynatrace.&nbsp; This is something currently being worked on, but it’s open source so there isn’t really an ETA.&nbsp; I’ve included some documentation that maybe some use to you.&nbsp; Hopefully this helps a bit.

> **[Automatically instrument your Java application with OpenTelemetry](https://docs.dynatrace.com/docs/ingest-from/opentelemetry/walkthroughs/java-auto)**
>
> Learn how to instrument your Java application using OpenTelemetry and Dynatrace.

> **[Automatically instrument your Java application with OpenTelemetry](https://docs.dynatrace.com/docs/ingest-from/opentelemetry/walkthroughs/java-auto)**
>
> Learn how to instrument your Java application using OpenTelemetry and Dynatrace.

> **[OpenTelemetry and Dynatrace](https://docs.dynatrace.com/docs/ingest-from/opentelemetry)**
>
> Learn how to integrate and ingest OpenTelemetry data (traces, metrics, and logs) into Dynatrace.

> **[OpenTelemetry and Dynatrace](https://docs.dynatrace.com/docs/ingest-from/opentelemetry)**
>
> Learn how to integrate and ingest OpenTelemetry data (traces, metrics, and logs) into Dynatrace.

---

<div class="post-metadata">

**Author:** ![techean](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/techean/32/227_2.png) [@techean](https://community.dynatrace.com/u/techean)\
**Post date:** [July 13, 2022, 5:12am UTC](https://community.dynatrace.com/t/dynatrace-end-to-tracing-with-opentelemetry/35717/3 "2022-07-13T05:12:23Z")

</div>

WIP -&nbsp;[OpenTelemetry traces with OneAgent | Dynatrace Docs](https://www.dynatrace.com/support/help/extend-dynatrace/opentelemetry/opentelemetry-traces/opentelemetry-trace-oneagent)

[Dynatrace provides observability for ingested OpenTelemetry traces | Dynatrace news](https://www.dynatrace.com/news/blog/the-dynatrace-open-aiops-platform-now-provides-enterprise-grade-observability-for-ingested-opentelemetry-traces/)

Extension -&nbsp;[OpenTelemetry Tracing | Dynatrace Hub](https://www.dynatrace.com/hub/detail/opentelemetry/)

---

<div class="post-metadata">

**Author:** ![Asifali](https://avatars.discourse-cdn.com/v4/letter/a/85e7bf/32.png) [@Asifali](https://community.dynatrace.com/u/Asifali)\
**Post date:** [July 13, 2022, 6:43pm UTC](https://community.dynatrace.com/t/dynatrace-end-to-tracing-with-opentelemetry/35717/4 "2022-07-13T18:43:16Z")

</div>

Thank you for the response, problem is resolved after setting the context propagation rules.

---

<div class="post-metadata">

**Author:** ![Asifali](https://avatars.discourse-cdn.com/v4/letter/a/85e7bf/32.png) [@Asifali](https://community.dynatrace.com/u/Asifali)\
**Post date:** [July 13, 2022, 6:44pm UTC](https://community.dynatrace.com/t/dynatrace-end-to-tracing-with-opentelemetry/35717/5 "2022-07-13T18:44:00Z")

</div>

Thank you for the response, setting context propagation rule solved the problem
