20 Jun 2024 03:21 PM - last edited on 21 Jun 2024 09:18 AM by MaciejNeumann
hi there
when we are using distrubutes traces from a particular service, we've noticed that the flow of calls made from a trace is not complete.
for example, we have the service A who calls the service B and then call an unmonitored host. when using the distributed traces section we see request from the service A calling B or service A calling the unmonitored host but we dont have the complete trace. is there a way to modify the topology of the trace so we can have the complete call instead of parts of it ?
we want to see on the distributes traces thas "califimmm" calls "nlbcbbbb" and then to the opaque host instead of "califimmm" either calling nlbcbbbb" or the opaque host
Solved! Go to Solution.
20 Jun 2024 10:58 PM
Hi @MariettaAlmeida ,
To see the complete trace, you need to instrument the service on the unmonitored hosts. You have several options:
The most recommended approach is to identify those unmonitored hosts and install OneAgent on them for monitoring. If the unmonitored host is an external service, you can create a custom service to provide context to that service.
In summary, you need to install OneAgent in full-stack mode and ensure deep monitoring to achieve full observability and complete your trace.
21 Jun 2024 09:35 PM
Besides what @JoseRomero mentions, there can be other reasons. Tracing works on trace context propagation. There can also be unsupported technologies where just deploying OneAgent does not help or there can be also applications which are written in a way where trace context cannot be propagated automatically. An example is a custom messaging implementation or thread-to-thread communication within the same process (producer/consumer thread pools). Those situations require minor code changes and the use of OpenTelemetry or OneAgent SDK in the code to fully propagate the context.
07 Aug 2024 04:03 PM
Hi @JoseRomero , @Julius_Loman if you have a guide about otel that you can share with me to help me understand the process, would be nice
07 Aug 2024 06:17 PM
@MariettaAlmeida For opentelemery just go to https://opentelemetry.io , for tracing in particular https://opentelemetry.io/docs/concepts/signals/traces/
Also be sure to check Dynatrace docs too https://docs.dynatrace.com/docs/shortlink/opentelemetry