-
Notifications
You must be signed in to change notification settings - Fork 192
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
Method MongoDB\Driver Monitoring\CommandStartedEvent::getService()is deprecated #1467
Method MongoDB\Driver Monitoring\CommandStartedEvent::getService()is deprecated #1467
Comments
...the instrumentation also uses |
@brettmc Yes, I originally wanted to file a PR, but I found that I couldn't handle getInfo, so I raised an issue. |
Could you create an issue in the upstream mongodb repo to find out whether If you do create an issue, can you link to it from this issue? |
@brettmc: Copying in my response from php/doc-en#4367 (comment)
If the Server object was only used for tracing, I would suggest just using the host and port going forward. The I'm not familiar with how this library interacts with the driver, but if you need details about server connections and cluster topology that would be better collected via an SDAM subscriber. The |
Method MongoDB\Driver Monitoring\CommandStartedEvent::getService()is deprecated by mongo ext 2.0
The text was updated successfully, but these errors were encountered: