1MONGOC_CLIENT_SET_APM_CALLBACKS(3) libmongocMONGOC_CLIENT_SET_APM_CALLBACKS(3)
2
3
4

NAME

6       mongoc_client_set_apm_callbacks - mongoc_client_set_apm_callbacks()
7

SYNOPSIS

9          bool
10          mongoc_client_set_apm_callbacks (mongoc_client_t *client,
11                                           mongoc_apm_callbacks_t *callbacks,
12                                           void *context);
13
14       Register a set of callbacks to receive Application Performance Monitor‐
15       ing events.
16
17       The callbacks are copied by the client and may be destroyed at any time
18       after.
19

PARAMETERS

21       · client: A mongoc_client_t.
22
23       · callbacks:  Optional  mongoc_apm_callbacks_t.  Pass NULL to clear all
24         callbacks.
25
26       · context: Optional pointer to include with each event notification.
27

RETURNS

29       Returns true on success. If any arguments are  invalid,  returns  false
30       and logs an error.
31

SEE ALSO

33       Introduction to Application Performance Monitoring
34

AUTHOR

36       MongoDB, Inc
37
39       2017-present, MongoDB, Inc
40
41
42
43
441.16.2                           Feb 25, 2020MONGOC_CLIENT_SET_APM_CALLBACKS(3)
Impressum