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β amongoc_apm_callbacks_t. That's the callback situation you're handing over, bestie. πcbβ a function to call with amongoc_apm_command_started_twhenever 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 π
π COPYRIGHT π
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
- 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