-
Hello everyone,
We are investigating a correlation issue between a service monitored by Dynatrace OneAgent and downstream services instrumented with OpenTelemetry whose traces are ingested through an OpenTelemetry Collector.
Current observations:
W3C Trace Context propagation appears to be working correctly.
The same Trace ID is preserved across the transaction.
Parent-child span relationships are maintained.
The downstream OpenTelemetry service continues the existing trace rather than creating a new one.
Dynatrace shows the call as “Requests to unmonitored hosts”.
Expected service-to-service relationships are not created in Services Classic.
Actions already performed
Enabled W3C Trace Context propagation.
Tested with OneAgent OpenTelemetry integration features enabled and disabled.
Restarted the affected components after configuration changes.
Validated that the traceparent header is preserved end-to-end.Additional observations
The environment uses OpenTelemetry Collector for trace ingestion.Some gateway logs report messages similar to:
invalid distributedTracingLink provided: null
Proprietary Dynatrace headers do not appear to be propagated consistently, while W3C headers are preserved.
QuestionsIs this behavior a known limitation when correlating OneAgent-generated traces with traces ingested through an OpenTelemetry Collector?
Is “Requests to unmonitored hosts” expected even when W3C propagation is working correctly?
Are there specific Collector, OTLP, or Dynatrace configurations required to establish service relationships between OneAgent-monitored services and OpenTelemetry-instrumented services?
Has anyone successfully implemented end-to-end correlation in a similar architecture?Any guidance or shared experiences would be greatly appreciated.
Thank you.
Hi Matheus,
Thanks for the detailed write-up. Your W3C Trace Context setup looks healthy: the trace ID is preserved and parent-child relationships are intact. That’s the foundation for correlating OneAgent and OpenTelemetry data.
Use the latest Services app
The latest Services app is built for mixed environments like yours. OneAgent and OpenTelemetry work together there, and Dynatrace brings both into a single end-to-end view.
- Services app and Service Map: the new Service Map shows the relationships between your OneAgent-monitored and OpenTelemetry-instrumented services, so you don’t have to build the topology by hand. See the Services app documentation and the Service Map documentation for how the topology is visualized.
- Distributed Tracing app: OneAgent spans and OpenTelemetry spans that share a trace ID appear in the same trace. You can follow a request across both sources and analyze it with DQL.
I’d recommend validating your setup there and ideally using the latest apps.
Why Services Classic may show something different
Services Classic had some limitations with mixed OneAgent and OpenTelemetry topologies. It creates service relationships from calls it can match to a OneAgent-monitored receiver. A downstream service that reports through an OpenTelemetry Collector may therefore appear as “Requests to unmonitored hosts”, even though the trace itself is connected.
That could explain what you’re seeing. I can’t say for certain from the post alone and would suggest opening a support ticket to find out why this happens in your environment. These details will help:
- The gateway log lines, including
invalid distributedTracingLink provided: null - Your OneAgent version and Collector configuration
- A trace ID that shows the issue
Support can check how the headers and spans are processed end-to-end in your setup.
Hope this helps.