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β Amongoc_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 π
π COPYRIGHT π
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
- 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