MONGOC_APM_COM..._GET_SERVER_ID(3)

πŸ’… MONGOC_APM_COM..._GET_SERVER_ID(3) πŸ’…

okay so bestie, this is a libmongoc manual page and it’s honestly tiny but iconic. It’s all about grabbing the server id off a command-succeeded APM event. No cap, that’s the whole plot. 🫢


🌸 SYNOPSIS 🌸

          uint32_t
          mongoc_apm_command_succeeded_get_server_id (
             const mongoc_apm_command_succeeded_t *event);

Returns this event's server id. That’s it. That’s the function. ✨

πŸŽ€ PARAMETERS πŸŽ€

  • event β€” A mongoc_apm_command_succeeded_t. That’s the event you’re handing over, bestie. πŸ’–

✨ RETURNS ✨

The event's server id. Literally just that. πŸ’…

πŸ‘€ SEE ALSO πŸ‘€

  • Introduction to Application Performance Monitoring

πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc

2009-present, MongoDB, Inc.


πŸ’– cute little sign-off: this page is from libmongoc version 2.5.6, dated Oct 09, 202, and the copyright belongs to 2009-present, MongoDB, Inc. Mwah πŸ’‹

πŸ“¦ where this page comes from