1MONGOC_CLIENT_POOL_SET_APM_CALLBACKSl(i3b)moMnOgNoGcOC_CLIENT_POOL_SET_APM_CALLBACKS(3)
2
3
4

NAME

6       mongoc_client_pool_set_apm_callbacks - mongoc_client_pool_set_apm_call‐
7       backs()
8

SYNOPSIS

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

PARAMETERS

22       · pool: A mongoc_client_pool_t.
23
24       · callbacks: A mongoc_apm_callbacks_t.
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

THREAD SAFETY

33       This  function  can  only  be called once on a pool, and must be called
34       before the first call to mongoc_client_pool_pop.
35

SEE ALSO

37       Introduction to Application Performance Monitoring
38

AUTHOR

40       MongoDB, Inc
41
43       2017-present, MongoDB, Inc
44
45
46
47
481.16.2                           Feb 25,MO2N0G2O0C_CLIENT_POOL_SET_APM_CALLBACKS(3)
Impressum