This koa middleware sets the transation name, similar to express.