@Activate(group="provider",
order=-1,
onClass="io.micrometer.observation.NoopObservationRegistry")
public class ObservationReceiverFilter
extends Object
implements org.apache.dubbo.rpc.Filter, org.apache.dubbo.rpc.BaseFilter.Listener, org.apache.dubbo.rpc.model.ScopeModelAware
Filter that creates an Observation around the incoming message.| Constructor and Description |
|---|
ObservationReceiverFilter(org.apache.dubbo.rpc.model.ApplicationModel applicationModel) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.dubbo.rpc.Result |
invoke(org.apache.dubbo.rpc.Invoker<?> invoker,
org.apache.dubbo.rpc.Invocation invocation) |
void |
onError(Throwable t,
org.apache.dubbo.rpc.Invoker<?> invoker,
org.apache.dubbo.rpc.Invocation invocation) |
void |
onResponse(org.apache.dubbo.rpc.Result appResponse,
org.apache.dubbo.rpc.Invoker<?> invoker,
org.apache.dubbo.rpc.Invocation invocation) |
public ObservationReceiverFilter(org.apache.dubbo.rpc.model.ApplicationModel applicationModel)
public org.apache.dubbo.rpc.Result invoke(org.apache.dubbo.rpc.Invoker<?> invoker,
org.apache.dubbo.rpc.Invocation invocation)
throws org.apache.dubbo.rpc.RpcException
invoke in interface org.apache.dubbo.rpc.BaseFilterorg.apache.dubbo.rpc.RpcExceptionpublic void onResponse(org.apache.dubbo.rpc.Result appResponse,
org.apache.dubbo.rpc.Invoker<?> invoker,
org.apache.dubbo.rpc.Invocation invocation)
onResponse in interface org.apache.dubbo.rpc.BaseFilter.Listenerpublic void onError(Throwable t, org.apache.dubbo.rpc.Invoker<?> invoker, org.apache.dubbo.rpc.Invocation invocation)
onError in interface org.apache.dubbo.rpc.BaseFilter.ListenerCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.