MONGOC_APM_SE...EW_DESCRIPTION(3)

πŸ’… MONGOC_APM_SE...EW_DESCRIPTION(3) πŸ’…

okay so bestie, we're deep in the libmongoc cinematic universe rn β€” this page is all about mongoc_apm_server_changed_get_new_description, yes that's a whole mouthful, and yes it's giving main character energy ✨ (the title up top got truncated to MONGOC_APM_SE...EW_DESCRIPTION(3) because even manpages have a character limit, iykyk 😭)


✨ SYNOPSIS ✨

const mongoc_server_description_t *
mongoc_apm_server_changed_get_new_description (
   const mongoc_apm_server_changed_t *event);

This one hands you back the new description for this event, no cap 🫢.

⚠️ but listen β€” the data is only valid in the scope of the callback that receives this event. so if you're gonna touch it after the callback returns, you gotta copy it. literally do not skip this part, it's not a vibe 😭

πŸŽ€ PARAMETERS πŸŽ€

  • event β€” a mongoc_apm_server_changed_t. that's the whole list, one (1) parameter, she's lowkey minimalist πŸ’…

🌸 RETURNS 🌸

A mongoc_server_description_t that should not be modified or freed. like, hands off, don't touch, she's not yours to keep πŸ™ˆ

πŸ’œ SEE ALSO:

  • Introduction to Application Performance Monitoring

πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc β€” iconic, legendary, the blueprint fr fr


2009-present, MongoDB, Inc. β€” protect it, respect it, periodt ⭐


and that's the whole page bestie!! πŸ¦‹ this masterpiece came to you via libmongoc, version 2.5.6, dated Oct 09, 2026 β€” go forth and copy your server descriptions before the callback dips πŸ§šπŸ’–

πŸ“¦ where this page comes from