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>> |
onEachOperatorForOnEachInstrumentation(org.springframework.context.ConfigurableApplicationContext springContext)
Creates scope passing span operator which applies only to not
Scannable.Attr.RunStyle.SYNC Publishers. |
static <T> Function<? super org.reactivestreams.Publisher<T>,? extends org.reactivestreams.Publisher<T>> |
onLastOperatorForOnEachInstrumentation(org.springframework.context.ConfigurableApplicationContext springContext)
Creates tracing context capturing reactor operator.
|
static Function<Runnable,Runnable> |
scopePassingOnScheduleHook(org.springframework.context.ConfigurableApplicationContext springContext) |
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>> onEachOperatorForOnEachInstrumentation(org.springframework.context.ConfigurableApplicationContext springContext)
Scannable.Attr.RunStyle.SYNC Publishers. Used by
InstrumentationType#DECORATE_ON_EACHT - an arbitrary type that is left unchanged by the span operator.springContext - the Spring context.Hooks.onEachOperator(Function).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 contextpublic static <T> Function<? super org.reactivestreams.Publisher<T>,? extends org.reactivestreams.Publisher<T>> onLastOperatorForOnEachInstrumentation(org.springframework.context.ConfigurableApplicationContext springContext)
InstrumentationType#DECORATE_ON_EACH.T - an arbitrary type that is left unchanged by the span operator.springContext - the Spring context.Hooks.onLastOperator(Function) for
InstrumentationType#DECORATE_ON_EACHCopyright © 2021 Pivotal Software, Inc.. All rights reserved.