Package org.apache.dubbo.tracing.handler
Class DubboServerTracingObservationHandler<T extends DubboServerContext>
java.lang.Object
org.apache.dubbo.tracing.handler.DubboServerTracingObservationHandler<T>
- All Implemented Interfaces:
io.micrometer.observation.ObservationHandler<T>
public class DubboServerTracingObservationHandler<T extends DubboServerContext>
extends Object
implements io.micrometer.observation.ObservationHandler<T>
-
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonScopeOpened(T context) booleansupportsContext(io.micrometer.observation.Observation.Context context) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micrometer.observation.ObservationHandler
onError, onEvent, onScopeClosed, onScopeReset, onStart, onStop
-
Constructor Details
-
DubboServerTracingObservationHandler
public DubboServerTracingObservationHandler(io.micrometer.tracing.Tracer tracer)
-
-
Method Details
-
onScopeOpened
- Specified by:
onScopeOpenedin interfaceio.micrometer.observation.ObservationHandler<T extends DubboServerContext>
-
supportsContext
public boolean supportsContext(io.micrometer.observation.Observation.Context context) - Specified by:
supportsContextin interfaceio.micrometer.observation.ObservationHandler<T extends DubboServerContext>
-