mongoc_apm_set_command_started_cb(3)

mongoc_apm_set_command_started_cb3

Usage

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.

•

cb: A function to call with a mongoc_apm_command_started_t whenever the driver begins a MongoDB operation.

SEE ALSO:

Introduction to Application Performance Monitoring

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

MongoDB, Inc

From libmongoc-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.