Skip to content

QueryExecuted event not dispatched #3183

Open
@kbiits

Description

@kbiits
  • Laravel-mongodb Version: 5.1.0
  • PHP Version: 8.2.x
  • Database Driver & Version:

Description:

Steps to reproduce

  1. Listen to QueryExecuted
  2. Log the executed query

Expected behaviour

MongoDB driver should dispatch the QueryExecuted event when there's query executions

Actual behaviour

No query executed event dispatched

I'm using open-telemetry laravel auto instrumentation, and I noticed that the mongodb query not logged after I upgrade the driver version from 4.x to 5.1
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions