OpenTracing Reactor Instrumentation

March 29, 2019 ยท View on GitHub

OpenTracing instrumentation for Reactor. This instrumentation library is based on spring-cloud-sleuth's reactor instrumentation.

OpenTracing Agents

When using a runtime agent like java-specialagent TracedSubscribers 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.

Non-Agent Configuration

When not using any of the OpenTracing Agents the Hooks must be added directly:

Hooks.onEachOperator(TracedSubscriber.asOperator(tracer));
Hooks.onLastOperator(TracedSubscriber.asOperator(tracer));

...