mongoc_apm_callbacks_t#
Notification callbacks
Synopsis#
Used to receive notification of events, such as when a MongoDB command begins, succeeds, or fails.
Create a mongoc_apm_callbacks_t
with mongoc_apm_callbacks_new(), set callbacks on it, then pass it to mongoc_client_set_apm_callbacks() or mongoc_client_pool_set_apm_callbacks().
Functions#
- mongoc_apm_callbacks_destroy()
- mongoc_apm_callbacks_new()
- mongoc_apm_set_command_failed_cb()
- mongoc_apm_set_command_started_cb()
- mongoc_apm_set_command_succeeded_cb()
- mongoc_apm_set_server_changed_cb()
- mongoc_apm_set_server_closed_cb()
- mongoc_apm_set_server_heartbeat_failed_cb()
- mongoc_apm_set_server_heartbeat_started_cb()
- mongoc_apm_set_server_heartbeat_succeeded_cb()
- mongoc_apm_set_server_opening_cb()
- mongoc_apm_set_topology_changed_cb()
- mongoc_apm_set_topology_closed_cb()
- mongoc_apm_set_topology_opening_cb()