Class MicrometerTracingAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.tracing.MicrometerTracingAutoConfiguration
@AutoConfiguration
@ConditionalOnClass(io.micrometer.tracing.Tracer.class)
@ConditionalOnBean(io.micrometer.tracing.Tracer.class)
public class MicrometerTracingAutoConfiguration
extends Object
Auto-configuration
for the Micrometer Tracing API.- Since:
- 3.0.0
- Author:
- Moritz Halbritter, Jonatan Ivanov
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
@Order
value ofdefaultTracingObservationHandler(Tracer)
.static final int
@Order
value ofpropagatingReceiverTracingObservationHandler(Tracer, Propagator)
.static final int
@Order
value ofpropagatingSenderTracingObservationHandler(Tracer, Propagator)
. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.micrometer.tracing.handler.DefaultTracingObservationHandler
defaultTracingObservationHandler
(io.micrometer.tracing.Tracer tracer) io.micrometer.tracing.handler.PropagatingReceiverTracingObservationHandler<?>
propagatingReceiverTracingObservationHandler
(io.micrometer.tracing.Tracer tracer, io.micrometer.tracing.propagation.Propagator propagator) io.micrometer.tracing.handler.PropagatingSenderTracingObservationHandler<?>
propagatingSenderTracingObservationHandler
(io.micrometer.tracing.Tracer tracer, io.micrometer.tracing.propagation.Propagator propagator)
-
Field Details
-
DEFAULT_TRACING_OBSERVATION_HANDLER_ORDER
public static final int DEFAULT_TRACING_OBSERVATION_HANDLER_ORDER@Order
value ofdefaultTracingObservationHandler(Tracer)
.- See Also:
-
RECEIVER_TRACING_OBSERVATION_HANDLER_ORDER
public static final int RECEIVER_TRACING_OBSERVATION_HANDLER_ORDER@Order
value ofpropagatingReceiverTracingObservationHandler(Tracer, Propagator)
.- See Also:
-
SENDER_TRACING_OBSERVATION_HANDLER_ORDER
public static final int SENDER_TRACING_OBSERVATION_HANDLER_ORDER@Order
value ofpropagatingSenderTracingObservationHandler(Tracer, Propagator)
.- See Also:
-
-
Constructor Details
-
MicrometerTracingAutoConfiguration
public MicrometerTracingAutoConfiguration()
-
-
Method Details
-
defaultTracingObservationHandler
@Bean @ConditionalOnMissingBean @Order(2147482647) public io.micrometer.tracing.handler.DefaultTracingObservationHandler defaultTracingObservationHandler(io.micrometer.tracing.Tracer tracer) -
propagatingSenderTracingObservationHandler
@Bean @ConditionalOnMissingBean @ConditionalOnBean(io.micrometer.tracing.propagation.Propagator.class) @Order(2000) public io.micrometer.tracing.handler.PropagatingSenderTracingObservationHandler<?> propagatingSenderTracingObservationHandler(io.micrometer.tracing.Tracer tracer, io.micrometer.tracing.propagation.Propagator propagator) -
propagatingReceiverTracingObservationHandler
@Bean @ConditionalOnMissingBean @ConditionalOnBean(io.micrometer.tracing.propagation.Propagator.class) @Order(1000) public io.micrometer.tracing.handler.PropagatingReceiverTracingObservationHandler<?> propagatingReceiverTracingObservationHandler(io.micrometer.tracing.Tracer tracer, io.micrometer.tracing.propagation.Propagator propagator)
-