-
Couldn't load subscription status.
- Fork 146
Description
In our kibana performance tests, we are creating a custom transaction for each journey and controlling the headless browser on our end. From the beginning of the first request, we are intercepting all browser requests and modifying headers by adding traceparent from the transaction we created for the whole journey. So basically our process looks like this:
Test Runner(FTR) ----> Chromium(playwright,apm-rum-agent) -----> Kibana Server(apm-node-agent)
What we discovered is that even though we started transactions from FTR side browser acts in the way that it's the root of the trace. And If we look at FTR service as a result we get this:

Here we cannot see the frontend transaction inside the service we created.
And inside of kibana-frontend service, we can see the transactions (steps) but the order is messed up.

And from the logs we can also see that all frontend and backend has same trace-id: 9e1f4c373e615f6010b6648b85012396
For implementation details:
https://github.com/elastic/kibana/pull/124259/files#diff-3225cc5c1861df1fad69fa164daff4dac70d3091e9cf6d4f3b8233590cffa923R181
