Skip to content

elastic-apm-node not working for mongoose 8.0.3 and mongodb 6.2.0 #3832

Closed
@sibelius

Description

@sibelius

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:

  1. Use this config '...'
  2. Then call '....'
  3. Then do '....'
  4. 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

related to #2844 and #1690

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-nodejsMake available for APM Agents project planning.community

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions