T
- The publisher generic typepublic class ScopePropagationPublisher<T> extends java.lang.Object implements Publishers.MicronautPublisher<T>
Publisher
that just propagates tracing state without creating a new span.Constructor and Description |
---|
ScopePropagationPublisher(org.reactivestreams.Publisher<T> publisher,
io.opentracing.Tracer tracer,
io.opentracing.Span parentSpan)
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
subscribe(org.reactivestreams.Subscriber<? super T> actual) |
public ScopePropagationPublisher(org.reactivestreams.Publisher<T> publisher, io.opentracing.Tracer tracer, io.opentracing.Span parentSpan)
publisher
- The publishertracer
- The tracerparentSpan
- The parent span