You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can right now enable the required event by doing DB::connection('mongodb')->enableQueryLog(); in the application.
We are however missing the requireddb.operation and db.collection.name which are not part of the event data:
I believe these are part of the "query" JSON but I'm not sure we want to try and parse that or if we want to try and improve the event data from the MongoDB driver side to obtain this information because currently the query is not recognized as a database query because of the missing attributes.
Another route is that we add our own so called command subscriber and do the work ourselves to get the data instead of using the Laravel events which might be the best option.
Problem Statement
Provide an integration for MongoDB
Developers working with MongoDB, should get more value out of Sentry performance insights: Cangelog: MongoDB is now Supported by Queries
Solution Brainstorm
Dependent on: mongodb/laravel-mongodb#3183
The text was updated successfully, but these errors were encountered: