MONGOC_APM_SE...ET_TOPOLOGY_ID(3)

πŸ’… MONGOC_APM_SE...ET_TOPOLOGY_ID(3) ✨

okay so this little cutie lives in libmongoc (that's the MongoDB C driver, ilysfm) and she has exactly one job: handing you the topology id off a server-opening APM event. that's it. that's the whole personality. and honestly? iconic behavior. πŸŽ€


🌸 SYNOPSIS 🌸

void
mongoc_apm_server_opening_get_topology_id (
   const mongoc_apm_server_opening_t *event, bson_oid_t *topology_id);

bestie. she returns this event's topology id. that's literally the whole deal, no cap. 🫢


πŸ¦‹ PARAMETERS πŸ¦‹

  • event β€” a mongoc_apm_server_opening_t. yes, exactly the type you'd expect, she's not trying to be mysterious πŸ’…
  • topology_id β€” a bson_oid_t that receives the event's topology_id. it's an out-param, so she's writing into it, not reading from it β€” main character energy, she does the giving πŸ”₯

πŸ‘‘ RETURNS πŸ‘‘

the event's topology id. that's the tea, periodt. β˜•βœ¨

SEE ALSO: Introduction to Application Performance Monitoring β€” go read it, iykyk, it's giving essential context 🌈

πŸŽ€ AUTHOR πŸŽ€

MongoDB, Inc β€” the whole entire icon behind this, we stan πŸ«‘πŸ’œ


2009-present, MongoDB, Inc. protect the legacy fr fr 🧚


mwah πŸ’‹ that's the whole page β€” go forth and get those topology ids, bestie, i believe in you πŸ¦‹πŸ’–

signing off from libmongoc version 2.5.6, dated Oct 09, 2026 β€” see u in the next manpage, love u, bye!! πŸ“βœ¨

πŸ“¦ where this page comes from