Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MongoDB command tracing #762

Open
yunicot opened this issue Sep 17, 2023 · 0 comments
Open

MongoDB command tracing #762

yunicot opened this issue Sep 17, 2023 · 0 comments

Comments

@yunicot
Copy link

yunicot commented Sep 17, 2023

Problem Statement

Hello!
Currently you don't have tracing for mongodb commands. I found that you already had the same feature request but it closed. I am ready to implement it. I think it is going to be useful not only for me.

Solution Brainstorm

For tracing I propose to use MongoDB\Driver\Monitoring\CommandSubscriber. This interface contains methods for subscribe for commandStarted and commandSucceeded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants