@@ -54,7 +54,6 @@ public class SentinelDubboConsumerFilter extends AbstractDubboFilter implements | |||
Entry methodEntry = null; | |||
try { | |||
String resourceName = getResourceName(invoker, invocation); | |||
ContextUtil.enter(resourceName); | |||
interfaceEntry = SphU.entry(invoker.getInterface().getName(), EntryType.OUT); | |||
methodEntry = SphU.entry(resourceName, EntryType.OUT); | |||
@@ -76,7 +75,6 @@ public class SentinelDubboConsumerFilter extends AbstractDubboFilter implements | |||
if (interfaceEntry != null) { | |||
interfaceEntry.exit(); | |||
} | |||
ContextUtil.exit(); | |||
} | |||
} | |||
} |
@@ -68,7 +68,6 @@ public class SentinelGrpcClientInterceptor implements ClientInterceptor { | |||
String resourceName = methodDescriptor.getFullMethodName(); | |||
Entry entry = null; | |||
try { | |||
ContextUtil.enter(resourceName); | |||
entry = SphU.entry(resourceName, EntryType.OUT); | |||
// Allow access, forward the call. | |||
return new ForwardingClientCall.SimpleForwardingClientCall<ReqT, RespT>( | |||
@@ -131,7 +130,6 @@ public class SentinelGrpcClientInterceptor implements ClientInterceptor { | |||
if (entry != null) { | |||
entry.exit(); | |||
} | |||
ContextUtil.exit(); | |||
} | |||
} | |||