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 β€” a mongoc_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 πŸ‘‘

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