-
Type: Question
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: Laravel
-
Not Needed
-
kbiits has created Issue #3183: QueryExecuted event not dispatched in laravel-mongodb. This Jira ticket was filed by GromNaN
Issue Text:
- 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
<img width="877" alt="image" src="https://github.com/user-attachments/assets/310c13af-b854-41d7-a8b4-9e1563ea2e6c">