MONGOC_APM_SER...ET_TOPOLOGY_ID(3)

πŸ’… MONGOC_APM_SER...ET_TOPOLOGY_ID(3) β€” bestie's guide to grabbing a topology id

okay so this one is from libmongoc (the MongoDB C driver, iykyk) and it's honestly such a small little icon of a function. it does one thing, it does it well, main character energy only. let's get into it 🌸


✨ SYNOPSIS ✨

void
mongoc_apm_server_closed_get_topology_id (
   const mongoc_apm_server_closed_t *event, bson_oid_t *topology_id);

Returns this event's topology id. that's it, that's the whole vibe 🫢


πŸŽ€ PARAMETERS πŸŽ€

  • event β€” a mongoc_apm_server_closed_t. yes the whole type name is a mouthful, no we do not make the rules πŸ’€
  • topology_id β€” a bson_oid_t that receives the event's topology_id. so like, you bring the empty little container and it fills it up for you. iconic behaviour, honestly 🎁

⭐ RETURNS ⭐

The event's topology id. slay πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

  • Introduction to Application Performance Monitoring

πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc β€” the ones who made this whole thing happen, no cap 🧚

2009-present, MongoDB, Inc.


ngl there's a whole other universe of APM stuff in these docs, so if you're confused, that Introduction to Application Performance Monitoring page is your bestie too 🌈

anyway that's the whole page, mwah πŸ’œ β€” this lil rewrite is based on libmongoc 2.5.6, footer date Oct 09 (the manpage footer got a little cut off mid-word, we don't gatekeep, we just report it 🫢) βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from