MONGOC_APM_CO...GET_SERVICE_ID(3)
β¨ MONGOC_APM_CO...GET_SERVICE_ID(3) β¨
okay bestie, so this one's from libmongoc, section 3 of the manual, and it's lowkey one of the shorter ones β a little cutie that just hands you a service ID. let's get into it π
πΈ SYNOPSIS πΈ
const bson_oid_t *
mongoc_apm_command_succeeded_get_service_id (
const mongoc_apm_command_succeeded_t *event);
so basically this function returns this event's service ID β like, the thing that identifies the MongoDB service hiding behind a load balancer π β or NULL if you're not connected to a load balanced cluster. no cap, that's the whole vibe check.
π¦ PARAMETERS π¦
eventβ amongoc_apm_command_succeeded_t. that's it, that's the whole list, she's low maintenance β¨
π RETURNS π
a bson_oid_t that should not be modified or freed β hands off, bestie, it's not yours to touch π β or NULL.
fr fr do NOT modify it and do NOT free it. it's giving borrowed pointer energy. just look at it and move on π
π AUTHOR π
MongoDB, Inc
π COPYRIGHT π
2009-present, MongoDB, Inc.
that's the whole page, iykyk π go forth and get those service IDs, main character π«Ά
~ libmongoc, version 2.5.6, dated Oct 09, 2026 ~ β
π¦ 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