Package net.ttddyy.observation.tracing
Class DataSourceBaseObservationHandler
java.lang.Object
io.micrometer.tracing.handler.PropagatingSenderTracingObservationHandler<DataSourceBaseContext>
net.ttddyy.observation.tracing.DataSourceBaseObservationHandler
- All Implemented Interfaces:
io.micrometer.observation.ObservationHandler<DataSourceBaseContext>,io.micrometer.tracing.handler.TracingObservationHandler<DataSourceBaseContext>
- Direct Known Subclasses:
ConnectionTracingObservationHandler,QueryTracingObservationHandler,ResultSetTracingObservationHandler
public abstract class DataSourceBaseObservationHandler
extends io.micrometer.tracing.handler.PropagatingSenderTracingObservationHandler<DataSourceBaseContext>
A base class of tracing observation handler for JDBC operations.
- Author:
- Tadaya Tsuyukubo
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micrometer.observation.ObservationHandler
io.micrometer.observation.ObservationHandler.AllMatchingCompositeObservationHandler, io.micrometer.observation.ObservationHandler.CompositeObservationHandler, io.micrometer.observation.ObservationHandler.FirstMatchingCompositeObservationHandlerNested classes/interfaces inherited from interface io.micrometer.tracing.handler.TracingObservationHandler
io.micrometer.tracing.handler.TracingObservationHandler.TracingContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcustomizeSenderSpan(DataSourceBaseContext context, io.micrometer.tracing.Span span) Methods inherited from class io.micrometer.tracing.handler.PropagatingSenderTracingObservationHandler
createSenderSpan, getTracer, onError, onStart, onStop, supportsContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micrometer.tracing.handler.TracingObservationHandler
endSpan, getParentSpan, getRequiredSpan, getSpanName, getTracingContext, onEvent, onScopeClosed, onScopeOpened, onScopeReset, setMaybeScopeOnTracingContext, tagSpan
-
Constructor Details
-
DataSourceBaseObservationHandler
public DataSourceBaseObservationHandler(io.micrometer.tracing.Tracer tracer)
-
-
Method Details
-
customizeSenderSpan
- Overrides:
customizeSenderSpanin classio.micrometer.tracing.handler.PropagatingSenderTracingObservationHandler<DataSourceBaseContext>
-