public final class ReactorNettyPropagatingSenderTracingObservationHandler extends io.micrometer.tracing.handler.PropagatingSenderTracingObservationHandler<io.micrometer.observation.transport.SenderContext<HttpRequest>>
PropagatingSenderTracingObservationHandler
.io.micrometer.tracing.handler.TracingObservationHandler.TracingContext
io.micrometer.observation.ObservationHandler.AllMatchingCompositeObservationHandler, io.micrometer.observation.ObservationHandler.CompositeObservationHandler, io.micrometer.observation.ObservationHandler.FirstMatchingCompositeObservationHandler
Constructor and Description |
---|
ReactorNettyPropagatingSenderTracingObservationHandler(io.micrometer.tracing.Tracer tracer,
io.micrometer.tracing.propagation.Propagator propagator)
Creates a new instance of
ReactorNettyPropagatingSenderTracingObservationHandler . |
Modifier and Type | Method and Description |
---|---|
boolean |
supportsContext(io.micrometer.observation.Observation.Context context) |
void |
tagSpan(io.micrometer.observation.transport.SenderContext<HttpRequest> context,
io.micrometer.tracing.Span span) |
createSenderSpan, customizeSenderSpan, getTracer, onError, onStart, onStop
public ReactorNettyPropagatingSenderTracingObservationHandler(io.micrometer.tracing.Tracer tracer, io.micrometer.tracing.propagation.Propagator propagator)
ReactorNettyPropagatingSenderTracingObservationHandler
.tracer
- tracerpropagator
- tracing propagatorpublic void tagSpan(io.micrometer.observation.transport.SenderContext<HttpRequest> context, io.micrometer.tracing.Span span)
public boolean supportsContext(io.micrometer.observation.Observation.Context context)
supportsContext
in interface io.micrometer.observation.ObservationHandler<io.micrometer.observation.transport.SenderContext<HttpRequest>>
supportsContext
in interface io.micrometer.tracing.handler.TracingObservationHandler<io.micrometer.observation.transport.SenderContext<HttpRequest>>
supportsContext
in class io.micrometer.tracing.handler.PropagatingSenderTracingObservationHandler<io.micrometer.observation.transport.SenderContext<HttpRequest>>