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.FirstMatchingCompositeObservationHandler
Nested classes/interfaces inherited from interface io.micrometer.tracing.handler.TracingObservationHandler
io.micrometer.tracing.handler.TracingObservationHandler.TracingContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
customizeSenderSpan
(DataSourceBaseContext context, io.micrometer.tracing.Span span) Methods inherited from class io.micrometer.tracing.handler.PropagatingSenderTracingObservationHandler
createSenderSpan, getTracer, onError, onStart, onStop, supportsContext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
customizeSenderSpan
in classio.micrometer.tracing.handler.PropagatingSenderTracingObservationHandler<DataSourceBaseContext>
-