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β Amongoc_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
π COPYRIGHT π
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
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms