MONGOC_APM_SE...ED_GET_CONTEXT(3)

✨ MONGOC_APM_SE...ED_GET_CONTEXT(3) ✨

okay bestie, so this one lives in the libmongoc manual and it's lowkey tiny but it's so useful β€” it's giving "little function, big main character energy" πŸ’…

πŸ¦‹ SYNOPSIS

void *
mongoc_apm_server_heartbeat_succeeded_get_context (
   const mongoc_apm_server_heartbeat_succeeded_t *event);

Returns this event's context. That's it. That's the whole vibe. ✨


πŸŽ€ PARAMETERS

  • event β€” a mongoc_apm_server_heartbeat_succeeded_t. yeah that's a whole mouthful, just hand her the event and she'll do the rest 🫢

🌸 RETURNS

The pointer you passed in with mongoc_client_set_apm_callbacks() or mongoc_client_pool_set_apm_callbacks(). fr fr, she just gives you back your own lil pointer β€” no cap, no surprises πŸ’–

SEE ALSO: Introduction to Application Performance Monitoring β€” go read it, it's iconic, iykyk πŸ‘‘

πŸ’œ AUTHOR

MongoDB, Inc

2009-present, MongoDB, Inc.


and that's the whole page bestie, ate and left no crumbs πŸ“πŸ’… β€” this was libmongoc version 2.5.6, dated Oct 09, 2026, mwah 😘

πŸ“¦ where this page comes from