Open axw opened 2 years ago
May be related to the usage of ensure_parent_id
.
Enter not parent.id:* in the search bar Observe that there are no trace samples
Isn't that expected as the parent would come from RUM?
Good point. I didn't have RUM configured, so that explains why there were no root transactions. We should probably only call ensure_parent_is
when the frontend is RUM-instrumented.
That raises the question of why there were only ApplicationController#index
transactions though. Shouldn't there be other ones, e.g. for /api/orders
? And those ones ones shouldn't invoke ensure_parent_id
.
I haven't tried with apm-integration-testing but on edge, there were no ApplicationController#index
transactions.
I see them on edge-oblt:
I also see other transactions there, and I see the same issue with a parent.id
to nowhere (despite edge-oblt having opbens-rum):
Right, I can see that too now. Seems like the RUM integration setup doesn't work as expected.
Transactions reported by opbeans-ruby all have a non-empty
parent.id
which does not correspond to any span or transaction. This results in traces without any root transaction, and breaks tail-based sampling which operates on root transactions.Steps to reproduce:
./scripts/compose.py start 8.0.0-rc2 --bc --with-opbeans-ruby
opbeans-ruby
serviceApplicationController#index
not parent.id:*
in the search bar