Closed mswswing closed 11 months ago
Hi @mswswing ! Thank you for the detailed report, it is super clear.
When using RUM, what we offer is a RUM-to-APM distributing tracing integration. This integration prevents from sending Span events to APM, instead a Trace is created backend side when a RUM Resource is received. That's why the TracingURLSessionHandler
is not invoked when using RUM.
I will ask internally why the RUM-to-APM does not generate service data in APM.
Thanks again 🙏
Answer cleared thanks
Version: 2.5.0
Implementation 1
Implementation 2
urlSessionTracking configuration removed on RUM
Problem
Inspect
https://github.com/DataDog/dd-sdk-ios/blob/331faa268f387470bd541cec0717282add79c1d1/DatadogTrace/Sources/Integrations/TracingURLSessionHandler.swift#L80C12-L80C141
I found that TracingURLSessionHandler ignores interception if origin is "rum"
https://github.com/DataDog/dd-sdk-ios/blob/331faa268f387470bd541cec0717282add79c1d1/DatadogRUM/Sources/Instrumentation/Resources/URLSessionRUMResourcesHandler.swift#L71
And URLSessionRUMResourcesHandler sets origin = "rum"
I need help
Thanks