Skip to content

Commit

Permalink
#86 trace
Browse files Browse the repository at this point in the history
  • Loading branch information
feelform committed May 27, 2021
1 parent 3a1c6d0 commit b02e6a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/instrumentation/module/express.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ test(`${testName1} Should record request in basic route`, function (t) {
Math.random()
await util.sleep(3000)
res.send('ok get')

const trace = agent.traceContext.currentTraceObject()
log.debug(trace)
})
app.post(PATH, (req, res) => {
res.send('ok post')
Expand Down

0 comments on commit b02e6a2

Please sign in to comment.