MONGOC_APM_TO...NG_GET_CONTEXT(3)

πŸ’… MONGOC_APM_TO...NG_GET_CONTEXT(3) πŸ’…

okay bestie, so this is a page straight out of libmongoc (yes, the libmongoc manual, that's the whole vibe) and it's a tiny little one β€” one function, one job, zero drama. It's mongoc_apm_topology_opening_get_context(3), and if you're already deep in APM land you're gonna slurp this up πŸ“


✨ SYNOPSIS ✨

void *
mongoc_apm_topology_opening_get_context (
   const mongoc_apm_topology_opening_t *event);

Returns this event's context. That's it. That's the whole function. Iconic, lowkey πŸŽ€


🌸 PARAMETERS 🌸

  • event β€” A mongoc_apm_topology_opening_t. that's the whole parameter list, she's a minimalist queen πŸ‘‘

πŸ¦‹ RETURNS πŸ¦‹

The pointer you passed with mongoc_client_set_apm_callbacks() or mongoc_client_pool_set_apm_callbacks(). so basically it hands you back your own little context pointer, no cap, no surprises, no plot twist πŸ’–

⭐ SEE ALSO ⭐

  • Introduction to Application Performance Monitoring β€” go read it, iykyk, it's giving required reading πŸ“šβœ¨

🫢 AUTHOR 🫢

MongoDB, Inc β€” yes, them. the ones who made the thing. main character energy fr fr πŸ‘‘


2009-present, MongoDB, Inc. β€” all the rights reserved, all the vibes reserved, periodt πŸ’…


and that's the whole page bestie!! no loose ends, no hidden flags, nothing to memorize β€” just a getter doing getter things 🌈 this cute little moment came to you from libmongoc 2.5.6, dated Oct 09, 2026, and honestly? she ate πŸ’€πŸ’– πŸ¦‹πŸŒ·πŸ«Ά

πŸ“¦ where this page comes from