MONGOC_APM_CO...D_GET_DURATION(3)
π
MONGOC_APM_CO...D_GET_DURATION(3) β no cap, the whole name is mongoc_apm_command_succeeded_get_duration
okay so bestie, welcome to the libmongoc corner of the manual π this one lives in the libmongoc manual and it's literally the shortest little baddie β a single function that tells you how long a command took. that's it. that's the whole vibe. β¨
Your girl's full title got cut off in the header (MONGOC_APM_CO...D_GET_DURATION(3) β the truncation is sending me π), but the real function name is mongoc_apm_command_succeeded_get_duration, and yes it ate. π
β¨ SYNOPSIS β¨
int64_t
mongoc_apm_command_succeeded_get_duration (
const mongoc_apm_command_succeeded_t *event);
Returns this event's duration in microseconds. β±οΈ (microseconds, bestie β tiny tiny units, so yes, do the math before you panic about the number.)
πΈ PARAMETERS πΈ
eventβ Amongoc_apm_command_succeeded_t. like, the event. the one that succeeded. hand it over and she'll tell you its duration. π«Ά
β RETURNS β
The event's duration. that's the whole return value, no plot twist, no surprise fields, just the duration. π
π¦ SEE ALSO: π¦
- Introduction to Application Performance Monitoring β go read it, it's the lore iykyk πβ¨
π AUTHOR π
MongoDB, Inc β the icons themselves. π
π COPYRIGHT π
2009-present, MongoDB, Inc.
ngl this is the easiest page in the whole manual. one function, one parameter, one return value, zero drama. π
libmongoc version 2.5.6, dated Oct 09, 2026 β mwah, that's a wrap bestie, go time your commands ππ§ββοΈπ
π¦ 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