diff --git a/server.go b/server.go index b26c2ed0..95d3c00d 100644 --- a/server.go +++ b/server.go @@ -251,7 +251,7 @@ func (s *Server) sendResponse(t transport.ServerTransport, stream *transport.Str func (s *Server) processUnaryRPC(t transport.ServerTransport, stream *transport.Stream, srv *service, md *MethodDesc) (err error) { var traceInfo traceInfo if EnableTracing { - traceInfo.tr = trace.New("Recv."+methodFamily(stream.Method()), stream.Method()) + traceInfo.tr = trace.New("grpc.Recv."+methodFamily(stream.Method()), stream.Method()) defer traceInfo.tr.Finish() traceInfo.firstLine.client = false traceInfo.tr.LazyLog(&traceInfo.firstLine, false) @@ -340,7 +340,7 @@ func (s *Server) processStreamingRPC(t transport.ServerTransport, stream *transp tracing: EnableTracing, } if ss.tracing { - ss.traceInfo.tr = trace.New("Recv."+methodFamily(stream.Method()), stream.Method()) + ss.traceInfo.tr = trace.New("grpc.Recv."+methodFamily(stream.Method()), stream.Method()) ss.traceInfo.firstLine.client = false ss.traceInfo.tr.LazyLog(&ss.traceInfo.firstLine, false) defer func() {