cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Integrate OpenTelemetry Spans with Dynatrace - Use Case

Hello,

we have a multi-tier system in which there's a specific tier we cannot instrument using dynatrace. The upper and lower tier are instrumented but, due to the lack of covering of the one in the middle, our tracing is broken.

 

monitoringteam1_0-1619001303772.png

What we would like to achieve is to implement OpenTelemetry on the service where DT cannot be installed and than integrate the spans generated into dynatrace.

 

Our side is NOT really clear how we should do that. Taking a look at the OpenTelemetry feature:

monitoringteam1_1-1619001406481.png

It is not clear if enabling this would require the OneAgent instrumented in the service where OpenTelemetry is active. In this case, this would not fit our use case since we cannot cover that specific service with OneAgent.

 

On the other end, I see the support for the W3C context headers:

monitoringteam1_2-1619001516456.png

 

And it seems more close the our use case. But it is not clear how we should enrich our application with the W3C Trace context headers. Are they added by default once we add OpenTemetry to our service?

 

It would be appreciated if anyone can share an experience in this case scenario. Thank you!

 

 

2 REPLIES 2

Julius_Loman
DynaMight Legend
DynaMight Legend

Ingesting of OpenTelemetry spans from processes on hosts not monitored by OneAgent is not yet available. I think this will cover your scenario to get full visibility. 

In the meantime, you may be able to achieve the tracing by enabling the W3C headers or by the built-in X-dynaTrace header. This is independent of OpenTelemetry. If Service B  honours those headers or just passes them, then OneAgent on Service C will pick it up and Dynatrace will connect those traces. You won't have any visibility on what is happening inside Service B, but you should see Service A calling Service C.

 

At the moment it's really about the question of what does the Service B do. If there is some logic and those headers are not passed or are filtered, then there is not much you can do at the moment.

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

luis_mpa
Helper

Hi @monitoringteam1. I think that the new features implemented by Dynatrace about OpenTelemetry (OTEL) can be helpful for you. I recommend that checks the related documentation in the Dynatrace site 👉 https://www.dynatrace.com/support/help/extend-dynatrace/opentelemetry#tabgroup--opentelemetry--instr... 

 

This issue was difficult to address one year ago, but now I think that is possible.

 

Nice day!

Luis Miguel.

Featured Posts