Exception message
Cannot read property 'start' of null
Culprit
wrappedFunction (node_modules/elastic-apm-node/lib/instrumentation/modules/mongodb-core.js)
node_modules/elastic-apm-node/lib/instrumentation/modules/mongodb-core.js in wrappedFunction at line 107
105. span = agent.buildSpan()
106. arguments[0] = wrappedCallback
107. span.start(this.ns + '.' + (this.cmd.find ? 'find' : name), 'db.mongodb.query')
108. }
109. }
versions:
mongodb node client 2.2.21
mongoose 4.13.3
node.js v8.5.0