The MongoDB\Driver\Monitoring\TopologyOpeningEvent class encapsulates information about an opened topology.
Note: Due to the driver's connection handling and persistence behavior, this event may not be observed if a MongoDB\Driver\Manager uses a previously persisted » libmongoc client.