OpenTracing instrumentation for Reactor. This instrumentation library is based on spring-cloud-sleuth's reactor instrumentation.
When using a runtime agent like java-specialagent TracedSubscriber
s will be automatically added using Hook.onEachOperator
and Hooks.onLastOperator
.
Refer to the agent documentation for how to include this library as an instrumentation plugin.
When not using any of the OpenTracing Agents the Hooks
must be added directly:
Hooks.onEachOperator(TracedSubscriber.asOperator(tracer));
Hooks.onLastOperator(TracedSubscriber.asOperator(tracer));
...