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>> |
scopePassingSpanOperator(org.springframework.context.ConfigurableApplicationContext springContext)
Return a span operator pointcut given a Tracing.
|
static <T> Function<? super org.reactivestreams.Publisher<T>,? extends org.reactivestreams.Publisher<T>> |
springContextSpanOperator(org.springframework.context.ConfigurableApplicationContext springContext)
Creates a context with beans in it.
|
public static <T> Function<? super org.reactivestreams.Publisher<T>,? extends org.reactivestreams.Publisher<T>> scopePassingSpanOperator(org.springframework.context.ConfigurableApplicationContext springContext)
Flux.transform(Function),
Mono.transform(Function),
Hooks.onLastOperator(Function) or
Hooks.onLastOperator(Function). The Span operator
pointcut will pass the Scope of the Span without ever creating any new spans.T - an arbitrary type that is left unchanged by the span operatorspringContext - the Spring context.public static <T> Function<? super org.reactivestreams.Publisher<T>,? extends org.reactivestreams.Publisher<T>> springContextSpanOperator(org.springframework.context.ConfigurableApplicationContext springContext)
T - an arbitrary type that is left unchanged by the span operatorspringContext - spring contextCopyright © 2021 Pivotal Software, Inc.. All rights reserved.