Package org.apache.dubbo.tracing.filter
Class ObservationReceiverFilter
java.lang.Object
org.apache.dubbo.tracing.filter.ObservationReceiverFilter
- All Implemented Interfaces:
BaseFilter,BaseFilter.Listener,Filter,ScopeModelAware
@Activate(group="provider",
order=-2147483598,
onClass="io.micrometer.observation.NoopObservationRegistry")
public class ObservationReceiverFilter
extends Object
implements Filter, BaseFilter.Listener, ScopeModelAware
A
Filter that creates an Observation around the incoming message.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.dubbo.rpc.BaseFilter
BaseFilter.Listener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninvoke(Invoker<?> invoker, Invocation invocation) voidonError(Throwable t, Invoker<?> invoker, Invocation invocation) voidonResponse(Result appResponse, Invoker<?> invoker, Invocation invocation) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.dubbo.rpc.model.ScopeModelAware
setApplicationModel, setFrameworkModel, setModuleModel, setScopeModel
-
Constructor Details
-
ObservationReceiverFilter
-
-
Method Details
-
invoke
- Specified by:
invokein interfaceBaseFilter- Throws:
RpcException
-
onResponse
- Specified by:
onResponsein interfaceBaseFilter.Listener
-
onError
- Specified by:
onErrorin interfaceBaseFilter.Listener
-