mongoc_apm_set_command_failed_cb(3)

mongoc_apm_set_command_failed_cb3

Usage

typedef void (*mongoc_apm_command_failed_cb_t) (
   const mongoc_apm_command_failed_t *event);
void
mongoc_apm_set_command_failed_cb (mongoc_apm_callbacks_t *callbacks,
                                  mongoc_apm_command_failed_cb_t cb);

Receive an event notification whenever the driver fails to execute a MongoDB operation.

Parameters

•

callbacks: A mongoc_apm_callbacks_t.

•

cb: A function to call with a mongoc_apm_command_failed_t whenever a MongoDB operation fails.

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.