MONGOC_APM_COM...AILED_GET_HOST(3)

✨ SYNOPSIS ✨

okay bestie, this is MONGOC_APM_COM...AILED_GET_HOST(3) from the libmongoc manual, and the header is lowkey giving truncated-ellipsis energy 😭 anyway, here’s the exact signature:

const mongoc_host_list_t *
mongoc_apm_command_failed_get_host (const mongoc_apm_command_failed_t *event);

This returns this event’s host. The mongoc_host_list_t is not part of a linked list β€” it is solely the server for this event. The data is only valid in the scope of the callback that receives this event; copy it if it will be accessed after the callback returns. πŸ’…

πŸŽ€ PARAMETERS πŸŽ€

  • event β€” a mongoc_apm_command_failed_t. that’s the whole vibe, no cap.

πŸ’– RETURNS πŸ’–

A mongoc_host_list_t that should not be modified or freed. 🫢

πŸ‘€ SEE ALSO

  • Introduction to Application Performance Monitoring

🌸 AUTHOR 🌸

MongoDB, Inc

2009-present, MongoDB, Inc.


cute lil sign-off: this page is from libmongoc 2.5.6, dated Oct 09, 202... β€” yes the footer date got a little cut off and ran straight into the title, it’s giving chaotic group-chat screenshot πŸ˜­πŸ’œ

πŸ“¦ where this page comes from