mongoc_apm_server_opening_get_topology_id(3)

MONGOC_APM_SERVER_OPENING_GET_TOPOLOGY_ID(3) libmongoc MONGOC_APM_SERVER_OPENING_GET_TOPOLOGY_ID(3)

SYNOPSIS

void
mongoc_apm_server_opening_get_topology_id (

const mongoc_apm_server_opening_t *event, bson_oid_t *topology_id);


Returns this event's topology id.

PARAMETERS

  • event: A mongoc_apm_server_opening_t <>.
  • topology_id: A bson_oid_t <https://www.mongoc.org/libbson/current/bson_oid_t.html> to receive the event's topology_id.

RETURNS

The event's topology id.

See also:

Introduction to Application Performance Monitoring <>



Author

MongoDB, Inc

Copyright

2009-present, MongoDB, Inc.

February 10, 2026 1.30.7