DOKK / manpages / debian 10 / libmongoc-doc / mongoc_apm_callbacks_t.3.en
MONGOC_APM_CALLBACKS_T(3) MongoDB C Driver MONGOC_APM_CALLBACKS_T(3)

mongoc_apm_callbacks_t - mongoc_apm_callbacks_t

Notification callbacks

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.

Introduction to Application Performance Monitoring

MongoDB, Inc

2017-present, MongoDB, Inc

February 23, 2019 1.14.0