MONGOC_APM_SE...AND_STARTED_CB(3)

πŸŽ€ MONGOC_APM_SE...AND_STARTED_CB(3) πŸŽ€

okay so bestie, welcome to the libmongoc page for mongoc_apm_set_command_started_cb πŸ’– yes, the title up there is abbreviated, but we are here and we are thriving. This is the whole β€œreceive an event notification whenever the driver starts a MongoDB operation” moment, and honestly? iconic. ✨


✨ SYNOPSIS ✨

          typedef void (*mongoc_apm_command_started_cb_t) (
             const mongoc_apm_command_started_t *event);

          void
          mongoc_apm_set_command_started_cb (mongoc_apm_callbacks_t *callbacks,
                                             mongoc_apm_command_started_cb_t cb);

Receive an event notification whenever the driver starts a MongoDB operation. 🫢


🌸 PARAMETERS 🌸

  • callbacks β€” a mongoc_apm_callbacks_t. That's the callback situation you're handing over, bestie. πŸŽ€
  • cb β€” a function to call with a mongoc_apm_command_started_t whenever the driver begins a MongoDB operation. Like, every time the driver begins one, your function gets the event. πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

  • Introduction to Application Performance Monitoring β€” go read that for the full APM vibe. πŸ‘‘

πŸ’œ AUTHOR πŸ’œ

MongoDB, Inc πŸ’…


2009-present, MongoDB, Inc. β€” periodt. πŸ’–


bye bestie, this was libmongoc 2.5.6, dated Oct 09, 2026. slay and stay hydrated πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from