We have instrumented our VueJs front end with RUM js agent via GTM.
Added following code
RUM data capturing works fine. But we dont see correlation between RUM data and java agent APM data.
Sprint boot application java agent transactions has correlation to downstream services (API)
Could you help with whats need to be done to get correlated transaction? As we are adding js with html back to client, does java agent needs to add traceparent for RUM to use as traceID?
Document has section for dynamically generated HTML config (Distributed Tracing | APM Real User Monitoring JavaScript Agent Reference [5.x] | Elastic). But its not clear how do we get pageloadtraceid and pageloadspanID. Do we need to make any changes to application code?
Appreciate your help
Thanks