1MONGOC_APM_SET_COMMAND_FAILED_CB(3)libmongocMONGOC_APM_SET_COMMAND_FAILED_CB(3)
2
3
4
6 mongoc_apm_set_command_failed_cb - mongoc_apm_set_command_failed_cb()
7
9 typedef void (*mongoc_apm_command_failed_cb_t) (
10 const mongoc_apm_command_failed_t *event);
11
12 void
13 mongoc_apm_set_command_failed_cb (mongoc_apm_callbacks_t *callbacks,
14 mongoc_apm_command_failed_cb_t cb);
15
16 Receive an event notification whenever the driver fails to execute a
17 MongoDB operation.
18
20 • callbacks: A mongoc_apm_callbacks_t.
21
22 • cb: A function to call with a mongoc_apm_command_failed_t whenever a
23 MongoDB operation fails.
24
25 SEE ALSO:
26 Introduction to Application Performance Monitoring
27
28
30 MongoDB, Inc
31
33 2017-present, MongoDB, Inc
34
35
36
37
381.21.1 Mar 02, 202M2ONGOC_APM_SET_COMMAND_FAILED_CB(3)