MONGOC_APM_SER...ED_GET_CONTEXT(3)

πŸŽ€ MONGOC_APM_SER...ED_GET_CONTEXT(3) πŸŽ€

okay bestie, this lil icon is from libmongoc, and it's literally here so you can grab the context pointer off a server-closed APM event. It's giving tiny-but-mighty utility function energy, and honestly? obsessed. πŸ’–

✨ SYNOPSIS ✨

void *
mongoc_apm_server_closed_get_context (const mongoc_apm_server_closed_t *event);

Returns this event's context β€” yes, literally that. periodt. πŸ’…

🌸 PARAMETERS 🌸

  • event β€” A mongoc_apm_server_closed_t. That's the event bestie in question. πŸ¦‹

πŸ¦‹ RETURNS πŸ¦‹

The pointer passed with mongoc_client_set_apm_callbacks() or mongoc_client_pool_set_apm_callbacks(). No cap, it just hands you back that exact pointer. πŸ”₯

πŸ‘€ SEE ALSO πŸ‘€

Introduction to Application Performance Monitoring β€” go read it if you want the full lore, iykyk. 🧚

πŸ’œ AUTHOR πŸ’œ

MongoDB, Inc

2009-present, MongoDB, Inc.


signed off by MongoDB, Inc, copyright 2009-present, MongoDB, Inc. this page is from libmongoc version 2.5.6, dated Oct 09, 202 β€” and then the footer glitches into MONGOC_APM_SER...ED_GET_CONTEXT(3), which is lowkey iconic. bye bestie, go get that context pointer πŸ’…βœ¨πŸ«Ά

πŸ“¦ where this page comes from