MONGOC_APM_SE...ET_TOPOLOGY_ID(3)

πŸ’… MONGOC_APM_SERVER_CHANGED_GET_TOPOLOGY_ID πŸ’…

okay so bestie, welcome to the libmongoc section 3 girlies ✨ this one's a tiny little getter, but she's lowkey iconic. it's the mongoc_apm_server_changed_get_topology_id function and she does exactly one thing: she hands you back the topology id for a server-changed APM event. no cap, that's the whole gig πŸŽ€


✨ SYNOPSIS ✨

void
mongoc_apm_server_changed_get_topology_id (
   const mongoc_apm_server_changed_t *event, bson_oid_t *topology_id);

like, literally all it does: returns this event's topology id 🫢


🌸 PARAMETERS 🌸

  • event β€” a mongoc_apm_server_changed_t. that's the server-changed event you're vibing with πŸ’–
  • topology_id β€” a bson_oid_t that receives the event's topology_id. it's an out-param bestie, she gets filled in for you 🌈

⭐ RETURNS ⭐

the event's topology id. that's it, that's the return πŸ’…

πŸ‘‘ SEE ALSO: πŸ‘‘

Introduction to Application Performance Monitoring β€” go read her, she's the main character fr fr πŸ“šβœ¨


πŸ¦‹ AUTHOR πŸ¦‹

MongoDB, Inc β€” the icons who brought you this 🌸


2009-present, MongoDB, Inc. 🫢


okay that's the whole page, go slay your APM callback girlie πŸ’– this was libmongoc 2.5.6, dated Oct 09, 2026 β€” mwah, bye bestie πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from