MONGOC_APM_SE...D_GET_DURATION(3)
π MONGOC_APM_SE...D_GET_DURATION(3)
okay bestie so this is a page from the libmongoc manual, section 3 β and honestly? it's a tiny little glow-up of a function that just tells you how long the sad part lasted π
β¨ SYNOPSIS β¨
like literally, here's the whole thing:
int64_t
mongoc_apm_server_heartbeat_failed_get_duration (
const mongoc_apm_server_heartbeat_failed_t *event);
and what it does? Returns this event's duration in microseconds. that's it, that's the vibe π«Ά β micro, not milli, don't come for me, microseconds is what the manpage says and microseconds is what you get β¨
π PARAMETERS π
eventβ amongoc_apm_server_heartbeat_failed_t. yes, the whole type name is that long, she's a main character with a lot of syllables π this is the event you're interrogating.
πΈ RETURNS πΈ
The event's duration. (in microseconds, remember β we established this π)
SEE ALSO: Introduction to Application Performance Monitoring β go read it, it's giving context, iykyk π¦
π AUTHOR π
MongoDB, Inc β the icons themselves π
π COPYRIGHT π
2009-present, MongoDB, Inc. β no cap, they've been at it since '09 π§
alright bestie, that's the whole page, go forth and measure your failed heartbeats β¨π
version 2.5.6 π dated Oct 09, 2026 π mwah, slay, periodt π
π¦ 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