diff --git a/baseapp/grpcserver.go b/baseapp/grpcserver.go index cc85e1d6b2f5..06e4691dacb1 100644 --- a/baseapp/grpcserver.go +++ b/baseapp/grpcserver.go @@ -2,6 +2,7 @@ package baseapp import ( "context" + "fmt" "strconv" gogogrpc "github.com/cosmos/gogoproto/grpc" @@ -81,6 +82,7 @@ func (app *BaseApp) RegisterGRPCServer(server gogogrpc.Server) { defer span.End() span.SetAttributes(attribute.String("http.method", grpcInfo.FullMethod)) + span.SetAttributes(attribute.String("http.request", fmt.Sprintf("%+v", req))) resp, err = handler(grpcCtx, req)