MONGOC_APM_TO...ET_TOPOLOGY_ID(3)

✨ MONGOC_APM_TO...ET_TOPOLOGY_ID ✨

okay so bestie, this is a page from libmongoc, section 3 of the manual, and it's literally the tiniest little function ever β€” it's giving "one job and she does it" energy πŸ’…


🌸 SYNOPSIS 🌸

void
mongoc_apm_topology_changed_get_topology_id (
   const mongoc_apm_topology_changed_t *event, bson_oid_t *topology_id);

Like, that's it. That's the whole vibe. She returns this event's topology id. Periodt. πŸ‘‘


πŸŽ€ PARAMETERS πŸŽ€

  • event β€” a mongoc_apm_topology_changed_t. yes it's a whole long type name, no you cannot shorten it, it's iconic and we respect it 🫢
  • topology_id β€” a bson_oid_t that's gonna receive the event's topology_id. she's the container, the vessel, the main character receiving the lore πŸ¦‹

⭐ RETURNS ⭐

The event's topology id. that's the whole tea β˜• no cap, no plot twist, no hidden gotchas β€” she just hands you the topology id and minds her business πŸ’–

SEE ALSO: Introduction to Application Performance Monitoring β€” go read it, iykwim, it's the lore drop you need for the full picture πŸ“–βœ¨

🌈 AUTHOR 🌈

MongoDB, Inc β€” yeah, the whole company. she's got a whole team and she's still out here returning topology ids πŸ₯Ή


2009-present, MongoDB, Inc. β€” a long legacy, lowkey legendary πŸ‘‘


2.5.6 Β· Oct 09, 2026 Β· that's the version and the date bestie, so if you're reading this in some other timeline… check your docs fr fr πŸ’€πŸŽ€πŸ’«

πŸ“¦ where this page comes from