MONGOC_APM_TO...EW_DESCRIPTION(3)

πŸ’… MONGOC_APM_TO...EW_DESCRIPTION(3) ✨

okay so this one lives in the libmongoc manual and it's honestly a little baddie β€” short, sweet, does exactly one thing πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

const mongoc_topology_description_t *
mongoc_apm_topology_changed_get_new_description (
   const mongoc_apm_topology_changed_t *event);

so this function hands you back the new description for this event, bestie. that's the whole vibe ✨

⚠️ but listen β€” the data is only valid in the scope of the callback that receives this event. if you're gonna touch it after the callback returns, you gotta copy it. no cap. if you don't, that's on you and the memory will absolutely not be there for you πŸ’€

🌸 PARAMETERS 🌸

  • event β€” a mongoc_apm_topology_changed_t. that's it. that's the whole input 🫢

⭐ RETURNS ⭐

a mongoc_topology_description_t β€” and the rules are: do not modify it, do not free it. like, hands off, respectfully πŸ™ˆ it's not yours to touch.


πŸ‘‘ SEE ALSO πŸ‘‘

  • Introduction to Application Performance Monitoring β€” go read it, iykyk πŸ’œ

🧚 AUTHOR 🧚

MongoDB, Inc β€” iconic, we stan πŸ’–

2009-present, MongoDB, Inc.


and that's the whole page, bestie ✨ slay, you now understand APM topology-changed new descriptions better than like 90% of people fr fr πŸ¦‹

this lil drop is from libmongoc version 2.5.6, dated Oct 09, 2026 β€” see you in the next manpage, mwah πŸ’‹

πŸ“¦ where this page comes from