MONGOC_APM_SE...EW_DESCRIPTION(3)
π MONGOC_APM_SE...EW_DESCRIPTION(3) π
okay so bestie, we're deep in the libmongoc cinematic universe rn β this page is all about mongoc_apm_server_changed_get_new_description, yes that's a whole mouthful, and yes it's giving main character energy β¨ (the title up top got truncated to MONGOC_APM_SE...EW_DESCRIPTION(3) because even manpages have a character limit, iykyk π)
β¨ SYNOPSIS β¨
const mongoc_server_description_t *
mongoc_apm_server_changed_get_new_description (
const mongoc_apm_server_changed_t *event);
This one hands you back the new description for this event, no cap π«Ά.
β οΈ but listen β the data is only valid in the scope of the callback that receives this event. so if you're gonna touch it after the callback returns, you gotta copy it. literally do not skip this part, it's not a vibe π
π PARAMETERS π
eventβ amongoc_apm_server_changed_t. that's the whole list, one (1) parameter, she's lowkey minimalist π
πΈ RETURNS πΈ
A mongoc_server_description_t that should not be modified or freed. like, hands off, don't touch, she's not yours to keep π
π SEE ALSO:
- Introduction to Application Performance Monitoring
π AUTHOR π
MongoDB, Inc β iconic, legendary, the blueprint fr fr
π COPYRIGHT π
2009-present, MongoDB, Inc. β protect it, respect it, periodt β
and that's the whole page bestie!! π¦ this masterpiece came to you via libmongoc, version 2.5.6, dated Oct 09, 2026 β go forth and copy your server descriptions before the callback dips π§π
π¦ 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