1MONGOC_APM_SET_SERVER_OPENING_CB(3)libmongocMONGOC_APM_SET_SERVER_OPENING_CB(3)
2
3
4

NAME

6       mongoc_apm_set_server_opening_cb - mongoc_apm_set_server_opening_cb()
7

SYNOPSIS

9          typedef void (*mongoc_apm_server_opening_cb_t) (
10             const mongoc_apm_server_opening_t *event);
11
12          void
13          mongoc_apm_set_server_opening_cb (mongoc_apm_callbacks_t *callbacks,
14                                            mongoc_apm_server_opening_cb_t cb);
15
16       Receive   an  event  notification  whenever  the  driver  adds  a  mon‐
17       goc_server_description_t for a new server it was not monitoring before.
18

PARAMETERS

20       · callbacks: A mongoc_apm_callbacks_t.
21
22       · cb: A function to call with  a  mongoc_apm_server_opening_t  whenever
23         the driver adds a mongoc_server_description_t for a new server it was
24         not monitoring before.
25

SEE ALSO

27       Introduction to Application Performance Monitoring
28

AUTHOR

30       MongoDB, Inc
31
33       2017-present, MongoDB, Inc
34
35
36
37
381.17.4                           Feb 04, 202M1ONGOC_APM_SET_SERVER_OPENING_CB(3)
Impressum