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