Scroll to navigation

MONGOC_TOPOLOGY_DESCRIPTION_T(3) libmongoc MONGOC_TOPOLOGY_DESCRIPTION_T(3)

Status of MongoDB Servers

SYNOPSIS

typedef struct _mongoc_topology_description_t mongoc_topology_description_t;


mongoc_topology_description_t is an opaque type representing the driver's knowledge of the MongoDB server or servers it is connected to. Its API conforms to the SDAM Monitoring Specification <https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/server-discovery-and-monitoring.md>.

Applications receive a temporary reference to a mongoc_topology_description_t as a parameter to an SDAM Monitoring callback that must not be destroyed. See Introduction to Application Performance Monitoring <>.

Author

MongoDB, Inc

Copyright

2009-present, MongoDB, Inc.

November 26, 2025 2.2.0