public abstract class ReactorSleuth extends Object
Modifier and Type | Method and Description |
---|---|
static <T> Function<? super org.reactivestreams.Publisher<T>,? extends org.reactivestreams.Publisher<T>> |
spanOperator(Tracer tracer)
Return a span operator pointcut given a
Tracer . |
public static <T> Function<? super org.reactivestreams.Publisher<T>,? extends org.reactivestreams.Publisher<T>> spanOperator(Tracer tracer)
Tracer
. This can be used in reactor
via Flux.transform(Function)
, Mono.transform(Function)
, Hooks.onEachOperator(Function)
or Hooks.onLastOperator(Function)
.T
- an arbitrary type that is left unchanged by the span operatortracer
- the Tracer
instance to use in this span operatorCopyright © 2018 Pivotal Software, Inc.. All rights reserved.