diff --git a/grpc.go b/grpc.go index e662cea..42b70ad 100644 --- a/grpc.go +++ b/grpc.go @@ -235,6 +235,9 @@ func (g *Server) handler(srv interface{}, stream grpc.ServerStream) (err error) md.Set(k, strings.Join(v, ", ")) } md.Set("Path", fullMethod) + md.Set("Micro-Server", "grpc") + md.Set(metadata.HeaderEndpoint, methodName) + md.Set(metadata.HeaderService, serviceName) var td string // timeout for server deadline