-
Type: New Feature
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
-
PHP Drivers
-
Not Needed
-
Add getHost() and getPort() methods to the APM event classes. This can be done by accessing mongoc_apm_command_started_get_host() when constructing the event objects in phongo_apm.c.
This will comply with the command monitoring spec and also make the APM event objects more consistent with SDAM monitoring, where the server events provide similar methods.
The existing getServer() method can be deprecated and later removed in 2.0. Ultimately, its removal will free APM events from needing to maintain a client/manager reference (PHPC-1741).
- causes
-
PHPLIB-1531 Remove usage of CommandStartedEvent::getServer() in unified spec tests
- Closed
- is depended on by
-
PHPC-1741 Remove getServer API and manager reference from APM event classes
- Closed