Closed
Description
Describe the bug
elastic-apm-node not working for mongoose 8.0.3 and mongodb 6.2.0
it does not create mongodb
spans
To Reproduce
Steps to reproduce the behavior:
- Use this config '...'
- Then call '....'
- Then do '....'
- See error
Upgrade to mongoose 8.0.3 and MongoDB 6.2.0
Expected behavior
it should save MongoDB spans for each .find
Environment (please complete the following information)
- OS: linux
- Node.js version: 20.11.0
- APM Server version: 7
- Agent version: 7
How are you starting the agent? (please tick one of the boxes)
- Calling
agent.start()
directly (e.g.require('elastic-apm-node').start(...)
) - Requiring
elastic-apm-node/start
from within the source code - Starting node with
-r elastic-apm-node/start
Additional context
- elastic-apm-node: 4.3.0