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
17       mongoc_server_description_t for a new server it was not monitoring  be‐
18       fore.
19

PARAMETERS

21callbacks: A mongoc_apm_callbacks_t.
22
23cb:  A  function  to call with a mongoc_apm_server_opening_t whenever
24         the driver adds a mongoc_server_description_t for a new server it was
25         not monitoring before.
26
27       SEE ALSO:
28          Introduction to Application Performance Monitoring
29
30

AUTHOR

32       MongoDB, Inc
33
35       2017-present, MongoDB, Inc
36
37
38
39
401.23.1                           Oct 20, 202M2ONGOC_APM_SET_SERVER_OPENING_CB(3)
Impressum