Skip to content

Commit

Permalink
remove explicit transaction creation
Browse files Browse the repository at this point in the history
  • Loading branch information
mshustov committed Oct 12, 2021
1 parent 2b4ff4b commit cdf2d30
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,6 @@ export class FixturePlugin implements Plugin<void, void, FixtureSetupDeps, Fixtu
},
},
async (ctx, req, res) => {
const transaction = apmAgent.startTransaction();
const subscription = req.events.completed$.subscribe(() => {
transaction?.end();
subscription.unsubscribe();
});

await ctx.core.elasticsearch.client.asInternalUser.ping();

return res.ok({
Expand Down

0 comments on commit cdf2d30

Please sign in to comment.