mongoc_apm_callbacks_t man page

mongoc_apm_callbacks_t ā€” 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.

See Also

Introduction to Application Performance Monitoring

Author

MongoDB, Inc

Info

Oct 12, 2017 1.8.1 MongoDB C Driver