The issue is definitely a missed thread hop. A simple repro app can be created to reproduce the issue. Something along the lines of:
client.callExternal1().flatMapMany(this::callExternal2).collectList().block();
In this example the external call to External1 will show up in the trace, but the call to External2 will not.
On investigation, the tokenLift() method is not being executed in this scenario, nor is the Hooks.onEachOperator being called.
Result of https://github.com/newrelic/newrelic-java-agent/issues/1780
The issue is definitely a missed thread hop. A simple repro app can be created to reproduce the issue. Something along the lines of:
client.callExternal1().flatMapMany(this::callExternal2).collectList().block();
In this example the external call to External1 will show up in the trace, but the call to External2 will not.
On investigation, the tokenLift() method is not being executed in this scenario, nor is the
Hooks.onEachOperator
being called.