Modify operation name

This commit is contained in:
ascrutae 2018-02-05 23:52:51 +08:00
parent 60638f7ceb
commit 93da3fa5bf
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ public class CallServerInterceptor implements ServerInterceptor {
}
}
final AbstractSpan span = ContextManager.createEntrySpan(call.getMethodDescriptor().getFullMethodName(), contextCarrier);
final AbstractSpan span = ContextManager.createEntrySpan(OperationNameFormatUtil.formatOperationName(call.getMethodDescriptor()), contextCarrier);
span.setComponent(ComponentsDefine.GRPC);
return new ServerCallListener(handler.startCall(new ForwardingServerCall.SimpleForwardingServerCall(call) {